Skip to content

Commit de37d46

Browse files
author
wangxiang
committed
add 默认页路由
1 parent afa221d commit de37d46

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed
File renamed without changes.

dist/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
<title>Angular4 Seed</title>
88
<base href="/angular4-seed/dist/">
99
<link rel="icon" type="image/x-icon" href="favicon.ico">
10-
<link href="styles.be3aa420f4d944e4c3c1.bundle.css" rel="stylesheet"/>
10+
<link href="styles.a08b7668457327d87d58.bundle.css" rel="stylesheet"/>
1111
</head>
1212
<body>
1313
<app-root></app-root>
14-
<script type="text/javascript" src="inline.cc435ae55e205bc0bc63.bundle.js"></script>
14+
<script type="text/javascript" src="inline.6e4399871b41f35ef80e.bundle.js"></script>
1515
<script type="text/javascript" src="polyfills.959d3093e6b7c4a0727b.bundle.js"></script>
1616
<script type="text/javascript" src="scripts.e917b1e50247050aac34.bundle.js"></script>
1717
<script type="text/javascript" src="vendor.c720ef2214c9e4ee0b3d.bundle.js"></script>
18-
<script type="text/javascript" src="main.851f6b7ac325f8dac16c.bundle.js"></script>
18+
<script type="text/javascript" src="main.f99dcab027866c1d707c.bundle.js"></script>
1919
</body>
2020
</html>

dist/inline.cc435ae55e205bc0bc63.bundle.js renamed to dist/inline.6e4399871b41f35ef80e.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.851f6b7ac325f8dac16c.bundle.js renamed to dist/main.f99dcab027866c1d707c.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/styles.be3aa420f4d944e4c3c1.bundle.css renamed to dist/styles.a08b7668457327d87d58.bundle.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/routes/routes.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export const routes: Routes = [
1212
],
1313
children: [
1414
{ path: 'home', loadChildren: './home/index.module#HomeModule' },
15-
{ path: 'simpleUI', loadChildren: './simple-ui/index.module#SimpleUIModule' }
15+
{ path: 'simpleUI', loadChildren: './simple-ui/index.module#SimpleUIModule' },
16+
{ path: '', redirectTo: '/simpleUI/table', pathMatch: 'full' }
1617
]
1718
},
1819
{ path: 'account', loadChildren: './account/account.module#AccountModule' },

0 commit comments

Comments
 (0)