Forum

laravel/vue - Faile...
 
Notifications
Clear all

laravel/vue - Failed to mount component: template or render function not defined.

   RSS

0
Topic starter
[Vue warn]: Failed to mount component: template or render function not defined.

found in

---> <QuickSelect>
       <Root>
1 Answer
0
Topic starter

add .default to require

from 

Vue.component('quick-select', require('./components/quick-select/baseComponent.vue'));

to

Vue.component('quick-select', require('./components/quick-select/baseComponent.vue').default);

compile, refresh site (ctrl+F5)

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: