Skip to content

Commit

Permalink
fix(schematics): missing routing module in sidemenu template (#3695)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuanxyz authored and vthinkxie committed Jul 1, 2019
1 parent 637c334 commit fdcef82
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { WelcomeComponent } from './welcome.component';

const routes: Routes = [
{ path: '', component: WelcomeComponent },
];

@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class WelcomeRoutingModule { }
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import { NgModule } from '@angular/core';

import { WelcomeRoutingModule } from './welcome-routing.module';

import { WelcomeComponent } from './welcome.component';


@NgModule({
declarations: [ WelcomeComponent ],
exports: [ WelcomeComponent ]
imports: [WelcomeRoutingModule],
declarations: [WelcomeComponent],
exports: [WelcomeComponent]
})
export class WelcomeModule { }

0 comments on commit fdcef82

Please sign in to comment.