I am using laravel blade and I declare my vue app with inline script.
I am including a compiled file which contains the headroom import and Vue.use(headroom).
After that i add it to the components of my Vue app with components: { headroom }, but it prints an error in the console: Failed to mount component: template or render function not defined.
How can I use it outside of a vue template ?
I am using laravel blade and I declare my vue app with inline script. I am including a compiled file which contains the headroom import and
Vue.use(headroom)
. After that i add it to the components of my Vue app withcomponents: { headroom }
, but it prints an error in the console: Failed to mount component: template or render function not defined. How can I use it outside of a vue template ?