Skip to content

Is there a way to use headroom outside of component #39

@TheAngelM97

Description

@TheAngelM97

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions