Skip to content

Instantly share code, notes, and snippets.

@kuroski
Created September 11, 2018 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuroski/e8cb7816e94967776c3f210db997f3a5 to your computer and use it in GitHub Desktop.
Save kuroski/e8cb7816e94967776c3f210db997f3a5 to your computer and use it in GitHub Desktop.
import Vue from 'vue'
import Router from 'vue-router'
const UserView = () => import('@/views/UserView')
Vue.use(Router)
export default new Router({
mode: 'history',
base: process.env.BASE_URL,
routes: [
{
path: '/',
component: UserView
}
]
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment