mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00

Issue number: internal --------- ## What is the current behavior? There are tests apps for Angular 16, 17 and 18 ## What is the new behavior? Adds a test app for Angular 19 ## Does this introduce a breaking change? - [ ] Yes - [x] No --------- Co-authored-by: Brandy Carney <6577830+brandyscarney@users.noreply.github.com>
18 lines
614 B
TypeScript
18 lines
614 B
TypeScript
import { bootstrapApplication } from '@angular/platform-browser';
|
|
import { RouteReuseStrategy, provideRouter } from '@angular/router';
|
|
import { provideIonicAngular, IonicRouteStrategy } from '@ionic/angular/standalone';
|
|
|
|
import { AppStandaloneComponent } from './app/app-standalone.component';
|
|
|
|
import { routes } from './app/app.routes';
|
|
|
|
export const bootstrapStandalone = () => {
|
|
bootstrapApplication(AppStandaloneComponent, {
|
|
providers: [
|
|
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
|
|
provideRouter(routes),
|
|
provideIonicAngular({ keyboardHeight: 12345 })
|
|
],
|
|
});
|
|
}
|