You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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