// in development env not use Lazy Loading,because Lazy Loading large page will cause webpack hot update too slow.so only in production use Lazy Loading
// in development env not use Lazy Loading,because Lazy Loading large page will cause webpack hot update too slow.so only in production use Lazy Loading
Vue.use(Router);
Vue.use(Router);
/* layout */
/* layout */
importLayoutfrom"../views/layout/Layout";
importLayoutfrom'../views/layout/Layout';
/**
/**
* icon : the icon show in the sidebar
* icon : the icon show in the sidebar
...
@@ -16,74 +16,73 @@ import Layout from "../views/layout/Layout";
...
@@ -16,74 +16,73 @@ import Layout from "../views/layout/Layout";
* noDropdown : if `noDropdown:true` will has no submenu
* noDropdown : if `noDropdown:true` will has no submenu
* meta : { role: ['admin'] } will control the page role
* meta : { role: ['admin'] } will control the page role