mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
chore(): fixing up the angular demo
This commit is contained in:
@ -4,7 +4,7 @@ import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
||||
import { AppComponent } from './app.component';
|
||||
import { AppRoutingModule } from './app-routing.module';
|
||||
|
||||
import { IonicAngularModule } from '@ionic/angular';
|
||||
import { IonicAngularModule, IonicRouterModule } from '@ionic/angular';
|
||||
|
||||
@NgModule({
|
||||
declarations: [AppComponent],
|
||||
@ -12,6 +12,7 @@ import { IonicAngularModule } from '@ionic/angular';
|
||||
AppRoutingModule,
|
||||
BrowserModule,
|
||||
IonicAngularModule.forRoot(),
|
||||
IonicRouterModule.forRoot()
|
||||
],
|
||||
bootstrap: [AppComponent],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
|
@ -3,7 +3,7 @@ import { CommonModule } from '@angular/common';
|
||||
|
||||
import { NoRoutingNavPageComponent } from './no-routing-nav.component';
|
||||
import { NoRoutingNavRoutingModule } from './no-routing-nav-routing.module';
|
||||
import { IonicAngularModule} from '@ionic/angular';
|
||||
import { IonicAngularModule } from '@ionic/angular';
|
||||
|
||||
import { PageOne } from './pages/page-one';
|
||||
import { PageTwo } from './pages/page-two';
|
||||
|
Reference in New Issue
Block a user