mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 07:30:12 +01:00
fix: runtime error
This commit is contained in:
parent
2ed175ded0
commit
0ef524ca9b
3 changed files with 2 additions and 14 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import {NgModule} from '@angular/core';
|
||||
import {RouterModule, Routes} from '@angular/router';
|
||||
import {StarterScreenComponent} from './starter-screen.component';
|
||||
import {NgxStarterComponent} from './starter.component';
|
||||
|
||||
const routes: Routes = [{
|
||||
|
|
@ -9,7 +8,7 @@ const routes: Routes = [{
|
|||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: StarterScreenComponent,
|
||||
component: NgxStarterComponent,
|
||||
},
|
||||
],
|
||||
}];
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ngx-starter-screen',
|
||||
styleUrls: ['./starter.component.scss'],
|
||||
templateUrl: './starter.component.html',
|
||||
})
|
||||
export class StarterScreenComponent {
|
||||
|
||||
}
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
import {NgModule} from '@angular/core';
|
||||
import {StarterScreenComponent} from './starter-screen.component';
|
||||
import {StarterRoutingModule} from './starter-routing.module';
|
||||
import {NgxStarterComponent} from './starter.component';
|
||||
import {NbActionsModule, NbButtonModule, NbCardModule, NbIconModule, NbLayoutModule} from '@nebular/theme';
|
||||
|
|
@ -20,7 +19,7 @@ const NB_MODULES = [
|
|||
NbActionsModule,
|
||||
],
|
||||
declarations: [
|
||||
StarterScreenComponent,
|
||||
NgxStarterComponent,
|
||||
NgxStarterComponent,
|
||||
],
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue