m2s2-cli 0.1.22

CLI for scaffolding M²S² design system projects
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
import { provideRouter } from '@angular/router';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import { routes } from './app.routes';

// To enable auth-aware navbar items, implement M2S2AuthProvider and provide it:
// import { M2S2_AUTH_PROVIDER } from '@m2s2/ng-lib';
// import { MyAuthProvider } from './auth/my-auth.provider';

export const appConfig: ApplicationConfig = {
  providers: [
    provideZoneChangeDetection({ eventCoalescing: true }),
    provideRouter(routes),
    provideAnimationsAsync(),
    // { provide: M2S2_AUTH_PROVIDER, useClass: MyAuthProvider },
  ],
};