[Vuejs]-Laravel – vue.js component working locally, but not found in production

0👍

Can you drop your code?

I guess maybe you have a problem with registering the component, maybe you did not type correct path, or etc.

My advice is to read carefully

https://v2.vuejs.org/v2/guide/components-registration.html

0👍

My issue was that the server had the newest compiled files in "public" and not "public_html".

So there wasn’t anything missing or wrong in the code itself, but the server didn’t use the correct files.

Leave a comment