New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeepAlive doesn't work on pages #15255
Comments
See #15214. You would not want to set it on just one page or it will not keep the page alive when transitioning to another page that does not have it set. You need to set the config across all pages where keepalive is meant to work, or set it directly via There is an outstanding issue with include/exclude: #15214. |
It's worth to mention about that use case in docs: |
Absolutely! A PR would be welcome. |
Thanks! ❤️ |
keepalive include/exclude props don't work with |
See my comment above: there is an issue tracking this. #15255 (comment) |
Environment
Linux
v16.14.2
3.0.0-rc.12
0.6.0
npm@7.17.0
vite
-
-
-
Reproduction
https://stackblitz.com/edit/github-8d2nyn?file=app.vue,pages%2Findex.vue,pages%2Ftest.vue
Describe the bug
Despite of
definePageMeta({ keepalive: true, });
test route state isn't cachedAdditional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: