Como resolver erro no IONIC | Fórum | School of Net

Deseja poder participar de nosso fórum e tirar todas as suas dúvidas?
Clique aqui e assine nosso plano de acesso ilimitado. Saiba mais.

por Jon

1 ano, 4 meses atrás Jon

Como resolver erro no IONIC

Está acontecendo esse erro: ``` core.js:14943 NG0304: 'ion-app' is not a known element: 1. If 'ion-app' is an Angular component, then verify that it is part of this module. logUnknownElementError @ core.js:14943 core.js:14943 NG0304: 'ion-router-outlet' is not a known element: 1. If 'ion-router-outlet' is an Angular component, then verify that it is part of this module. ``` Rota: ``` const routes: Routes = [ { path: 'home', component: HomePage, loadChildren: () => import('./home/home.module').then( m => m.HomePageModule) }, { path: '', redirectTo: 'home', pathMatch: 'full' }, ]; ``` App.module: ``` declarations: [AppComponent], entryComponents: [], imports: [ BrowserModule, AppRoutingModule, HttpClientModule, IonicStorageModule.forRoot({ driverOrder: [CordovaSQLiteDriver._driver, Drivers.IndexedDB] })], schemas:[], providers: [{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }], bootstrap: [AppComponent], }) export class AppModule {} ```

3 Respostas