Pinia HMR in Vite doesn't work with Quasar CLI Vite #16709
Labels
area/cli
bug/0-needs-info
Need more info to reproduce
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
Pinia HMR in Vite doesn't work with Quasar CLI
What did you expect to happen?
Pinia supports HMR to keep previous states. See https://pinia.vuejs.org/cookbook/hot-module-replacement.html
Reproduction URL
https://github.com/yu0A/vue_quasar_admin/tree/main
How to reproduce?
Deploy this project
Go to http://localhost:9000/#/pythonWangLuoDaoRu
Click "执行" button, where you can see the text on the the right textfield can change.
Trigger HMR, then click "执行" button, where you can see the text on the the right textfield cannot change.
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)
Platforms/Browsers
No response
Quasar info output
No response
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: