https://github.com/byepasthub/vue-keep
缓存你的页面组件,使得可以比手机APP更好的体验效果
https://github.com/byepasthub/vue-keep
keep-alive vue vue2 vue3
Last synced: 5 months ago
JSON representation
缓存你的页面组件,使得可以比手机APP更好的体验效果
- Host: GitHub
- URL: https://github.com/byepasthub/vue-keep
- Owner: ByePastHub
- License: mit
- Created: 2022-04-26T10:17:49.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-31T06:57:23.000Z (over 2 years ago)
- Last Synced: 2024-08-09T23:23:47.383Z (about 1 year ago)
- Topics: keep-alive, vue, vue2, vue3
- Language: JavaScript
- Homepage: https://byepasthub.github.io/vue-keep/zh/
- Size: 21.6 MB
- Stars: 18
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-keep
## 介绍
>`vue-keep`可以帮助你实现前进刷新,返回时之前的页面还处于激活的状态,可以优化比`app`还要好的体验。在需要缓存页面组件的地方,将`router-view`替换为`keep-router-view`。
## language
### 安装
支持 `vue2.x`/`vue3.x`
```
npm install @bye_past/vue-keep
```## 快速上手
在线文档: https://byepasthub.github.io/vue-keep/zh/
在线示例: https://byepasthub.github.io/vue-keep/example