Help fixing HMR circular imports #365
Replies: 1 comment
-
This is fixed now ✨ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure if this should be an issue or not, but I'm struggling to get HMR to work with Vite whenever a page contains any router imports because of circular imports. We have a pretty standard config, so I don't know if something we're doing is causing it. Using
importMode: 'async'
doesn't help, and I couldn't find anything in #132 that helped.I'm using vue-router 4.3.0 and unplugin-vue-router 0.8.6 (latest as of writing).
Logs
vite.config.ts
router/index.ts
main.ts
Beta Was this translation helpful? Give feedback.
All reactions