Skip to content

Instantly share code, notes, and snippets.

@jesperlandberg
Created March 14, 2016 20:06
Show Gist options
  • Save jesperlandberg/ada05a5cb109be028d3a to your computer and use it in GitHub Desktop.
Save jesperlandberg/ada05a5cb109be028d3a to your computer and use it in GitHub Desktop.
import './css/reset/normalize.scss'
import './css/base/base.scss'
import Vue from 'vue'
import VueRouter from 'vue-router'
import About from './about.vue'
import Home from './home.vue'
import Single from './single.vue'
Vue.use(VueRouter);
var App = Vue.extend({})
var router = new VueRouter()
router.map({
'/about': {
component: About
},
'/': {
component: Home
},
'/single': {
component: Single
}
})
router.start(App, '#app')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment