vite-plugin-vue-layouts icon indicating copy to clipboard operation
vite-plugin-vue-layouts copied to clipboard

fix(hmr): more precise matching

Open markthree opened this issue 1 year ago • 5 comments

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.

markthree avatar Jan 09 '24 08:01 markthree

As usual, merge #141 so that #140 can be closed.

Or we could merge #140 and then merge #141.

markthree avatar Jan 09 '24 08:01 markthree

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?

Viliasas avatar Jul 03 '24 09:07 Viliasas

Any update here? @JohnCampionJr

tuanvumaihuynh avatar Aug 04 '24 15:08 tuanvumaihuynh

Any update here? @JohnCampionJr

vxow avatar Aug 13 '24 04:08 vxow