Skip to content

Commit

Permalink
Merge pull request #1405 from dpc-sdp/bugfix/nuxt-console-errors
Browse files Browse the repository at this point in the history
fix: temp fix for HMR
  • Loading branch information
dylankelly authored Dec 16, 2024
2 parents e65d674 + 5db8989 commit 882db00
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/nuxt-app/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,13 @@ export default defineNuxtConfig({
sourcemap: true,
devtools: {
enabled: false
},
// Vite HMR temporary fix - see https://github.com/nuxt/nuxt/discussions/27779
vite: {
server: {
hmr: {
clientPort: 3000
}
}
}
})

0 comments on commit 882db00

Please sign in to comment.