# wc-vuex-snapshot

> 1 在入口文件, 一般是 main.js 中 import VuexSnapshot from 'wc-vuex-snapshot' Vue.use(VuexSnapshot, store);

Latest version **1.0.0** (published 2017-04-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install wc-vuex-snapshot
pnpm add wc-vuex-snapshot
yarn add wc-vuex-snapshot
bun add wc-vuex-snapshot
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-04-15 |
| First published | 2017-04-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | linfeng123 |
| Maintainers | linfeng123 |

## Links

- npm: https://www.npmjs.com/package/wc-vuex-snapshot
- npm.io page: https://npm.io/package/wc-vuex-snapshot

## Recent versions

- 1.0.0 (latest) — 2017-04-15

## README

## 使用方式

1 在入口文件, 一般是 main.js 中
	import VuexSnapshot from 'wc-vuex-snapshot'
	Vue.use(VuexSnapshot, store);

2 在 store.js 里面
	import {updateSnapshot} from 'wc-vuex-snapshot'

在 mutations 增加一个函数
	mutaions {
        snapshot (state) {
            updateSnapshot(state);
        }
	}

---
_Source: https://npm.io/package/wc-vuex-snapshot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
