[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] 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
`
` use this code, when i build and deploy service. render is normal but keepalive invalidation
`
` use this code, local dev environment is normal but deploy service, only cached component not render
what i did wrong
Reproduction
https://stackblitz.com/edit/vitejs-vite-22ic9p?file=Demo.vue
Steps to reproduce
`<RouterView #default="{ Component }">
use this code, when i build and deploy service. render is normal but keepalive invalidation
` <RouterView #default="{ Component }">
` use this code, local dev environment is normal but deploy service, only cached component not render
what i did wrong
System Info
Used Package Manager
npm
Logs
No response
Validations