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