m2s2-cli 0.1.9

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
18
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
import { provideRouter } from '@angular/router';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import { M2S2_AUTH_PROVIDER } from '@m2s2/ng-lib';
import { routes } from './app.routes';

// Implement M2S2AuthProvider with your auth library (e.g. AWS Amplify, Auth0, Firebase).
// See: https://github.com/M2S2-Engineering-Group/m2s2-design-system#authentication
// import { MyAuthProvider } from './auth/my-auth.provider';

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