vite-plugin-vue-layouts
vite-plugin-vue-layouts copied to clipboard
fix(hmr): more precise matching
In the latest vite demo test, if I manually update an already existing layout, restart is required for it to take effect, this pr fixes the issue。
There are no break changes and it works fine 🥰
A repo that reproduces the problem → vue-layout-demo
Start the service and modify src/_base/layouts/Layout.vue
to find the problem.
As usual, merge #141 so that #140 can be closed.
Or we could merge #140 and then merge #141.
I've applied your patch with pnpm patch. When I edit the layout or one of its inner components it seems to trigger something, but the data in the browser is not updated. Is there anything special that I need to do to get this working?
Any update here? @JohnCampionJr
Any update here? @JohnCampionJr