Comparing version 0.5.3 to 0.5.4
@@ -16,3 +16,3 @@ { | ||
}, | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"engines": { | ||
@@ -19,0 +19,0 @@ "vscode": "0.10.x" |
@@ -56,16 +56,11 @@ { | ||
"", | ||
"import { ${Home}Component } from './${home}.component';", | ||
"import { ${Name}Component } from './${name}.component';", | ||
"", | ||
"export const routes: Routes = [", | ||
" {", | ||
" path: '',", | ||
" pathMatch: 'full',", | ||
" redirectTo: '${home}',", | ||
" },", | ||
" { path: '${home}', component: ${Home}Component },", | ||
" { path: '${path}', component: ${Name}Component },", | ||
"];", | ||
"", | ||
"export const routing = RouterModule.forRoot(routes);", | ||
"export const routing = RouterModule.for${Root|Child}(routes);", | ||
"", | ||
"export const routedComponents = [${Home}Component];" | ||
"export const routedComponents = [${Name}Component];" | ||
] | ||
@@ -72,0 +67,0 @@ }, |
816503
211