mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 04:26:01 +08:00
fix(@schematics/angular): Alphabetized import sources within a group
This commit is contained in:
parent
64124cbb9e
commit
2dac2ac769
@ -1,6 +1,5 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';<% if (lazyRoute) { %>
|
||||
|
||||
import { RouterModule, Routes } from '@angular/router';<% if (lazyRoute) { %>
|
||||
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';<% } %>
|
||||
|
||||
const routes: Routes = [<% if (lazyRoute) { %>{ path: '', component: <%= classify(name) %>Component }<% } %>];
|
||||
|
Loading…
x
Reference in New Issue
Block a user