mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-13 14:23:02 -05:00
feat(challenge5): add permissions challenge 5
This commit is contained in:
14
apps/permissions/src/main.ts
Normal file
14
apps/permissions/src/main.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { enableProdMode } from '@angular/core';
|
||||
import { bootstrapApplication } from '@angular/platform-browser';
|
||||
import { provideRouter } from '@angular/router';
|
||||
import { AppComponent } from './app/app.component';
|
||||
import { APP_ROUTES } from './app/routes';
|
||||
import { environment } from './environments/environment';
|
||||
|
||||
if (environment.production) {
|
||||
enableProdMode();
|
||||
}
|
||||
|
||||
bootstrapApplication(AppComponent, {
|
||||
providers: [provideRouter(APP_ROUTES)],
|
||||
}).catch((err) => console.error(err));
|
||||
Reference in New Issue
Block a user