路由懒加载,还是压缩打包的js文件
This commit is contained in:
parent
64aedb7466
commit
4aeccb8825
|
@ -41,11 +41,11 @@ const routes = [
|
|||
component: Home,
|
||||
redirect: '/welcome',
|
||||
children: [
|
||||
{ path: '/welcome', component: welcome },
|
||||
{ path: '/users', component: users },
|
||||
{ path: '/rights', component: access },
|
||||
{ path: '/roles', component: roles },
|
||||
{ path: '/categories', component: categories },
|
||||
{path: '/welcome', component: welcome},
|
||||
{path: '/users', component: users},
|
||||
{path: '/rights', component: access},
|
||||
{path: '/roles', component: roles},
|
||||
{path: '/categories', component: categories},
|
||||
{ path: '/params', component: params },
|
||||
{ path: '/goods', component: goods },
|
||||
{ path: '/goods/add', component: goodsEdit },
|
||||
|
|
Loading…
Reference in New Issue
Block a user