We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5737f07 commit 6b0ac78Copy full SHA for 6b0ac78
packages/nuxt/src/auto-hmr-plugin.ts
@@ -54,6 +54,7 @@ export function autoRegisterHMRPlugin(
54
// append HMR code
55
return {
56
code: [
57
+ `import { acceptHMRUpdate } from 'pinia'`,
58
code,
59
'if (import.meta.hot) {',
60
` import.meta.hot.accept(acceptHMRUpdate(${storeName}, import.meta.hot))`,
0 commit comments