[Vuejs]-Vue components doesn't update on shared hosting server

0๐Ÿ‘

I had this exact problem

The way to solve this is to rename the app.js file located in public/js folder and also make sure to edit the mix-manifest.json file in public folder with the same name.

Eg:
If we rename the app.js as app1.js in the public/js folder
In mix-manifest.json it should be edited as follows before uploading to the shared server

{
"/js/app.js": "/js/app1.js",
"/css/app.css": "/css/app.css"
}

Leave a comment