Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# 不在维护,已经重写一个更容易配置的版本,更完善的版本,名称换成vue-keep

## vue-with-keep-alive

### 介绍

>`vue-with-keep-alive`可以帮助你实现前进刷新,返回时之前的页面还处于激活的状态,可以像`app`一样的体验。哪里需要缓存,把`router-view`组件使用`keep-router-view`来替换。

### language

中文
English

#### 安装

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