20 lines
659 B
TypeScript
20 lines
659 B
TypeScript
import { bootstrapApplication } from '@angular/platform-browser';
|
|
import { provideHttpClient } from '@angular/common/http';
|
|
import { registerLocaleData } from '@angular/common';
|
|
import { LOCALE_ID, provideZonelessChangeDetection } from '@angular/core';
|
|
import localeFr from '@angular/common/locales/fr';
|
|
|
|
import { AppComponent } from './src/app.component';
|
|
|
|
registerLocaleData(localeFr);
|
|
|
|
bootstrapApplication(AppComponent, {
|
|
providers: [
|
|
provideZonelessChangeDetection(),
|
|
provideHttpClient(),
|
|
{ provide: LOCALE_ID, useValue: 'fr' },
|
|
],
|
|
}).catch(err => console.error(err));
|
|
|
|
// AI Studio always uses an `index.tsx` file for all project types.
|