-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(demo-app): migrate to angular standalone
- Loading branch information
Showing
12 changed files
with
47 additions
and
116 deletions.
There are no files selected for viewing
12 changes: 0 additions & 12 deletions
12
projects/demo-app/web/ngx-auth/src/app/app-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
import { Component } from '@angular/core'; | ||
import { RouterOutlet } from '@angular/router'; | ||
|
||
@Component({ | ||
selector: 'app-root', | ||
templateUrl: './app.component.html' | ||
templateUrl: './app.component.html', | ||
standalone: true, | ||
imports: [RouterOutlet] | ||
}) | ||
export class AppComponent { } |
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 { provideHttpClient } from '@angular/common/http'; | ||
import { ApplicationConfig } from '@angular/core'; | ||
import { provideRouter, withRouterConfig } from '@angular/router'; | ||
|
||
import { routes } from './app.routes'; | ||
|
||
export const appConfig: ApplicationConfig = { | ||
providers: [ | ||
provideHttpClient(), | ||
provideRouter(routes, withRouterConfig({ onSameUrlNavigation: 'reload' })) | ||
] | ||
}; |
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,8 @@ | ||
import { Routes } from '@angular/router'; | ||
|
||
import { routes as demoRoutes } from './demo/demo.routes'; | ||
|
||
export const routes: Routes = [ | ||
{ path: '', children: demoRoutes }, | ||
{ path: '**', pathMatch: 'full', redirectTo: '' } | ||
]; |
14 changes: 0 additions & 14 deletions
14
projects/demo-app/web/ngx-auth/src/app/demo/components/page/page-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
14 changes: 0 additions & 14 deletions
14
projects/demo-app/web/ngx-auth/src/app/demo/components/page/page.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
27 changes: 0 additions & 27 deletions
27
projects/demo-app/web/ngx-auth/src/app/demo/demo.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