Skip to content

Instantly share code, notes, and snippets.

@LazyFatArrow
Created May 26, 2019 14:43
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 LazyFatArrow/a96633dc5bde194a7cbf5d7ab6bbd785 to your computer and use it in GitHub Desktop.
Save LazyFatArrow/a96633dc5bde194a7cbf5d7ab6bbd785 to your computer and use it in GitHub Desktop.
import Vue from 'vue'
import Router from 'vue-router'
import Polls from './views/Polls.vue'
Vue.use(Router)
export default new Router({
mode: 'history',
base: process.env.BASE_URL,
routes: [
{
path: '/',
name: 'polls',
component: Polls
},
]
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment