[nuxt] setupSFC not working with HMR in pages/index.setup.tsx #625
Unanswered
angelhdzmultimedia
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
setupSFC is working now, but a change in
pages/index.setup.tsx
file won't trigger the HMR. Only a manual page refresh will change the contents.I tested by changing the code in app.vue and it does trigger HMR, so normal
.vue
Setup SFC is working with HMR.Also working in any other page inside
pages/*.setup.tsx
.Also working with a
*.setup.tsx
component imported withimport Component from './component.setup.tsx'
.I suspect this is related to VueRouter.
Attempts to resolve:
.nuxt
Repro
https://stackblitz.com/~/github.com/angelhdzmultimedia/nuxt-vuemacros-setupSFC-vuerouter
Beta Was this translation helpful? Give feedback.
All reactions