Laravel Vapor - Fix a problem with deployment

This commit is contained in:
Dillon Ngo
2024-10-05 14:14:59 +08:00
parent bd8e30493f
commit 1f1fb7d79a
+6
View File
@@ -10,6 +10,12 @@ const mix = require('laravel-mix');
| file for the application as well as bundling up all the JS files.
|
*/
mix.webpackConfig({
watchOptions: {
poll: true,
aggregateTimeout: 2000,
},
});
mix.js('./resources/assets/vue/app.js', 'public/vue')
.vue()