Add Vue template

This commit is contained in:
Steve Sanderson
2017-03-09 10:04:54 +00:00
parent 8bba142e8f
commit beace263fc
34 changed files with 988 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
import Vue from 'vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter);
export default new VueRouter({
mode: 'history',
routes: [
{ path: '/', component: require('./components/home/home.vue.html') },
{ path: '/counter', component: require('./components/counter/counter.vue.html') },
{ path: '/fetchdata', component: require('./components/fetchdata/fetchdata.vue.html') }
]
});