Answers for "Failed to mount component: template or render function not defined"

1

Failed to mount component: template or render function not defined.

//require('./bootstrap');
window.axios = require('axios');
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';

window.Vue = require('vue');
import Vue from 'vue'

Vue.component('dictionary-index',  () => import('./components/DictionaryIndex.vue'));

Vue.component('dictionary-create',  () => import('./components/DictionaryCreate.vue'));

Vue.component('dictionary-cat',  () => import('./components/DictionaryCategory.vue'));

const app = new Vue({
    el: '#app',
});
Posted by: Guest on September-18-2021

Code answers related to "Failed to mount component: template or render function not defined"

Browse Popular Code Answers by Language