Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Nov 29, 2018
1 parent 68be261 commit 6b74571
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/router/index.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
import Vue from 'vue'
import Router from 'vue-router'
// 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

/* layout */
import Layout from '../views/layout/Layout'

Vue.use(Router)

/**
* icon : the icon show in the sidebar
* hidden : if `hidden:true` will not show in the sidebar
* redirect : if `redirect:noredirect` will not redirct in the levelbar
* noDropdown : if `noDropdown:true` will not has submenu in the sidebar
**/

export const constantRouterMap = [
{ path: '/login', component: ()=>import('@/views/login/index'), hidden: true },
{ path: '/404', component: ()=>import('@/views/404'), hidden: true },
Expand Down

0 comments on commit 6b74571

Please sign in to comment.