按spa教程操作后,router-view提示没有注册,

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
    });
JellyBool
修改的评论也不能少于六个字哦!