Skip to content

Commit 6b74571

Browse files
committed
.
1 parent 68be261 commit 6b74571

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/router/index.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
import Vue from 'vue'
22
import Router from '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 */
63
import Layout from '../views/layout/Layout'
74

85
Vue.use(Router)
96

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
15-
**/
7+
168
export const constantRouterMap = [
179
{ path: '/login', component: ()=>import('@/views/login/index'), hidden: true },
1810
{ path: '/404', component: ()=>import('@/views/404'), hidden: true },

0 commit comments

Comments
 (0)