fix: runtime error

This commit is contained in:
Evgeny Lupanov 2020-03-25 20:12:31 +03:00 committed by Sergey Andrievskiy
parent 2ed175ded0
commit 0ef524ca9b
3 changed files with 2 additions and 14 deletions

View file

@ -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,
},
],
}];

View file

@ -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 {
}

View file

@ -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,
],
})