Skip to content

Instantly share code, notes, and snippets.

@sam-ngu
sam-ngu / webpack.mix.js
Last active November 19, 2019 04:04
Laravel Mix + Vuejs Hot reload config
mix.options({
hmrOptions: {
host: 'laravel.dev.local', // site's host name
port: 8080,
}
});
// // fix css files 404 issue
mix.webpackConfig({
// add any webpack dev server config here