Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

app.js:38650 [Vue warn]: Failed to mount component: template or render function not defined

Vue.component('form-component', require('./components/FormComponent').default);
Vue.component('gratitude-pop', require('./components/GratitudePop').default);//..etc..etc
//adding .default did the trick with laravel and vue
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Failed #mount #template #render #function #defined
ADD COMMENT
Topic
Name
4+6 =