Created
July 8, 2019 21:21
-
-
Save wharley/5a634f2dbabbe348ac6b0c8c1699506a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue'; | |
import Router from 'vue-router'; | |
import Main from './views/Main.vue'; | |
Vue.use(Router); | |
export default new Router({ | |
mode: 'history', | |
routes: [ | |
{ | |
path: '/:menu?/:submenu?/:tab?/:id?', | |
component: Main, | |
}, | |
], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment