-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update to angular 18, standalone app and zoneless
- Loading branch information
1 parent
724963c
commit 0318ab4
Showing
44 changed files
with
21,518 additions
and
31,735 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
package.json | ||
*.yml | ||
|
||
/.nx/cache | ||
.angular | ||
|
||
/.nx/cache | ||
/.nx/workspace-data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { ApplicationConfig } from '@angular/core'; | ||
import { provideAnimations } from '@angular/platform-browser/animations'; | ||
import { provideRouter } from '@angular/router'; | ||
import { provideServerRendering } from '@angular/platform-server'; | ||
import { APP_ROUTES } from './app.routes'; | ||
|
||
export const appServerConfig: ApplicationConfig = { | ||
providers: [provideRouter(APP_ROUTES), provideAnimations(), provideServerRendering()] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { ApplicationConfig, provideExperimentalZonelessChangeDetection } from '@angular/core'; | ||
import { provideAnimations } from '@angular/platform-browser/animations'; | ||
import { provideRouter } from '@angular/router'; | ||
import { APP_ROUTES } from './app.routes'; | ||
|
||
export const appConfig: ApplicationConfig = { | ||
providers: [ | ||
provideRouter(APP_ROUTES), | ||
provideAnimations(), | ||
provideExperimentalZonelessChangeDetection() | ||
] | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { Routes } from '@angular/router'; | ||
import { GettingStartedComponent } from './getting-started/getting-started.component'; | ||
|
||
export const APP_ROUTES: Routes = [ | ||
{ | ||
path: 'banner', | ||
loadComponent: () => import('./banner/banner.component').then(m => m.BannerComponent) | ||
}, | ||
{ | ||
path: 'tile', | ||
loadComponent: () => import('./tile/tile.component').then(m => m.TileComponent) | ||
}, | ||
{ | ||
path: 'tile-2-images', | ||
loadComponent: () => | ||
import('./tile-2-images/tile-2-images.component').then(m => m.Tile2ImagesComponent) | ||
}, | ||
{ | ||
path: 'banner-vertical', | ||
loadComponent: () => | ||
import('./banner-vertical/banner-vertical.component').then(m => m.BannerVerticalComponent) | ||
}, | ||
{ | ||
path: 'wrapped', | ||
loadComponent: () => import('./wrapped/wrapped.component').then(m => m.WrappedComponent) | ||
}, | ||
{ | ||
path: 'getting-started', | ||
component: GettingStartedComponent | ||
}, | ||
{ | ||
path: '', | ||
redirectTo: 'tile', | ||
pathMatch: 'full' | ||
} | ||
]; |
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
apps/ngu-carousel-example/src/app/banner-vertical/banner-vertical-routing.module.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
apps/ngu-carousel-example/src/app/banner-vertical/banner-vertical.module.ts
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
apps/ngu-carousel-example/src/app/banner/banner-routing.module.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.