You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/router/index.js
+1-9Lines changed: 1 addition & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,10 @@
1
1
importVuefrom'vue'
2
2
importRouterfrom'vue-router'
3
-
// in development env not use Lazy Loading,because Lazy Loading too many pages will cause webpack hot update too slow.so only in production use Lazy Loading
4
-
5
-
/* layout */
6
3
importLayoutfrom'../views/layout/Layout'
7
4
8
5
Vue.use(Router)
9
6
10
-
/**
11
-
* icon : the icon show in the sidebar
12
-
* hidden : if `hidden:true` will not show in the sidebar
13
-
* redirect : if `redirect:noredirect` will not redirct in the levelbar
14
-
* noDropdown : if `noDropdown:true` will not has submenu in the sidebar
0 commit comments