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
I don't know if this is an issue with Vite or Vue or PrimeVue... But Vite is directly involved in HMR so it could be a Vite issue.
If I change the content inside the TabPanel's default slot, HMR does not work automatically unless the page is reloaded. To reproduct this, simply clone run the reproduction repo and go to App.vue and change anything inside TabPanel default slot (line 9). Then if you look at the browser the content did not automatically update unless you refresh the whole page.
$ git clone git@github.com:martinszeltins/vue-hmr-not-working-slot.git
$ cd vue-hmr-not-working-slot
$ npm install
$ npm run dev
Now open App.vue and change the default slot of TabPanel (line 9). Then save the App.vue file and look at the browser - HMR did not work unless you manually reload the page.
All I did was take the Vite starter template and added PrimeVue.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
I don't know if this is an issue with Vite or Vue or PrimeVue... But Vite is directly involved in HMR so it could be a Vite issue.
If I change the content inside the TabPanel's default slot, HMR does not work automatically unless the page is reloaded. To reproduct this, simply clone run the reproduction repo and go to App.vue and change anything inside TabPanel default slot (line 9). Then if you look at the browser the content did not automatically update unless you refresh the whole page.
Reproduction
https://github.com/martinszeltins/vue-hmr-not-working-slot
Steps to reproduce
$ git clone git@github.com:martinszeltins/vue-hmr-not-working-slot.git $ cd vue-hmr-not-working-slot $ npm install $ npm run dev
All I did was take the Vite starter template and added PrimeVue.
$ npm create vite@latest my-vue-app -- --template vue $ cd my-vue-app $ npm install $ npm install primevue@^3 --save $ npm install primeicons --save
Then I added PrimeVue to
main.js
like this:And then I added the component in
App.vue
as you can see from the reproduction repo. I didn't change anything else. Something is wrong.System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: