brain-vue-cli
Version:
A command line tool used to run projects
20 lines (19 loc) • 488 B
JavaScript
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
Vue.config.productionTip = false
// new Vue({
// el: '#app',
// router,
// template: '<App/>',
// components: {
// App
// }
// })
new Vue({ // eslint-disable-line no-new
el: '#app',
router: router,
render: h => h(App)
})