Skip to content

Instantly share code, notes, and snippets.

@dougkusanagi
Created July 18, 2022 02:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dougkusanagi/87bba58a71dc1578e59839d26124456b to your computer and use it in GitHub Desktop.
Save dougkusanagi/87bba58a71dc1578e59839d26124456b to your computer and use it in GitHub Desktop.
export default defineConfig({
plugins: [
laravel({
input: 'resources/js/app.js',
refresh: true,
}),
vue({
template: {
transformAssetUrls: {
base: null,
includeAbsolute: false,
},
},
}),
],
// add this
server: {
hmr: {
host: 'localhost',
},
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment