chakra-ui / chakra-ui-vue-next

⚡️ The next most epic version of Chakra UI Vue based on Vue 3 🚀(WIP)
https://next.vue.chakra-ui.com
MIT License
261 stars 33 forks source link

CFlex props (direction, align, justify, wrap) don't work with Nuxt HMR #283

Open viktor-yunenko opened 1 year ago

viktor-yunenko commented 1 year ago

Bug report

Describe the bug

CFlex props as:

Don't trigger HMR refresh. As a workaround I got used to adding/updating key="1" prop every time I want to force rerender without reloading the browser tab.

Not a critical issue, mostly wanted to share the workaround.

To reproduce

This branch is a simple example. It's old but my current project on ^2.0.0-beta.2 has the same issue.

Tried to update to ^2.1.0-beta.4 today but it doesn't export a Vue plugin anymore, and @chakra-ui/nuxt-next doesn't seem to work as a loadable nuxt module.

System information