0👍
I encountered this behavior when the server was enabled OPcache.
try clear OPcache
https://jenssegers.com/77/clearing-php-s-opcache-with-cachetool
- [Vuejs]-Vuex / state management not working on Nuxt with routing history
- [Vuejs]-How to access imported vue component's instance outside main vue component?
0👍
Adding a version number on your app.js
every time you compile your assets should fix this. If you are using Laravel mix, simply add on webpack.mix.js
file
if (mix.inProduction()) {
mix.version(); // this will add a version number to your app.js
// every time you do `npm run production`
// ex: app.js?id=b35f8fd52c344cb84a52
}
Source:stackexchange.com