master
Raymonzut 5 years ago
parent fd4206b989
commit 0e86f56649
No known key found for this signature in database
GPG Key ID: 97CF2D8BE2C69FC7
  1. 7
      client/src/App.vue
  2. 2
      client/src/main.js

@ -1,5 +1,10 @@
<template> <template>
<div id='app'> <div id="app">
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/posts">Posts</router-link>
</div>
<router-view />
</div> </div>
</template> </template>

@ -2,6 +2,7 @@ import Vue from 'vue'
import VueResource from 'vue-resource' import VueResource from 'vue-resource'
import App from './App.vue' import App from './App.vue'
import router from './router'
Vue.config.productionTip = false Vue.config.productionTip = false
@ -9,4 +10,5 @@ Vue.use(VueResource)
new Vue({ new Vue({
render: h => h(App), render: h => h(App),
router,
}).$mount('#app') }).$mount('#app')

Loading…
Cancel
Save