+ Moved client to subfolder and added db communication
This commit is contained in:
20
client/src/main.js
Normal file
20
client/src/main.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import Vue from 'vue'
|
||||
import VueRouter from 'vue-router'
|
||||
import App from './app.vue'
|
||||
|
||||
import routes from './routes'
|
||||
|
||||
Vue.config.productionTip = false
|
||||
Vue.use(VueRouter)
|
||||
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
routes,
|
||||
});
|
||||
|
||||
const app = new Vue({
|
||||
render: h => h(App),
|
||||
router
|
||||
})
|
||||
|
||||
app.$mount('#srs')
|
||||
Reference in New Issue
Block a user