Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/byepasthub/vue-with-keep-alive
cache pages
https://github.com/byepasthub/vue-with-keep-alive
keep-alive vue2 vue3
Last synced: about 1 month ago
JSON representation
cache pages
- Host: GitHub
- URL: https://github.com/byepasthub/vue-with-keep-alive
- Owner: ByePastHub
- License: mit
- Created: 2022-01-03T12:36:31.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-30T15:40:48.000Z (over 2 years ago)
- Last Synced: 2024-04-23T22:19:38.647Z (9 months ago)
- Topics: keep-alive, vue2, vue3
- Language: JavaScript
- Homepage: https://byepasthub.github.io/vue-with-keep-alive/
- Size: 2.02 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 不在维护,已经重写一个更容易配置的版本,更完善的版本,名称换成vue-keep
## vue-with-keep-alive
### 介绍
>`vue-with-keep-alive`可以帮助你实现前进刷新,返回时之前的页面还处于激活的状态,可以像`app`一样的体验。哪里需要缓存,把`router-view`组件使用`keep-router-view`来替换。
### language
#### 安装
vue2.x
```
npm install vue-with-keep-alive@2
```vue3.x
```
npm install vue-with-keep-alive
```### 快速上手
在线文档: https://byepasthub.github.io/vue-with-keep-alive/zh/
在线示例: https://byepasthub.github.io/vue-with-keep-alive/example