[Vuejs]-How to use vuejs with laravel after removing public from laravel Url?

0πŸ‘

β€œ[Vue warn]: Unknown custom element: – did you register the component correctly? For recursive components, make sure to provide the β€œname” option.”

It occurs when components are not registered within the β€œapp.js” file. In the Vue instance, try adding this

new Vue({
    components: {
        appSome: some
    }
});

Of course you also have to import the component.

Leave a comment