require('./bootstrap');
window.Vue = require('vue');
/**
* Next, we will create a fresh Vue application instance and attach it to
* the page. Then, you may begin adding components to this application
* or customize the JavaScript scaffolding to fit your unique needs.
*/
import VueRouter from 'vue-router'
import router from './routes'
Vue.use(VueRouter);
//Vue.component('app', require('./components/Example'))
//Vue.component('example', require('./components/Example.vue'));
new Vue({
el: '#app',
router
});
修改的评论也不能少于六个字哦!
0
分享