# @lyo/vuex-persist

A browser-compatible version of [vuex-persist](https://www.npmjs.com/package/vuex-persist) built automatically with [Lyo](https://github.com/bokub/lyo).

[![Version](https://flat.badgen.net/npm/v/@lyo/vuex-persist)](https://www.npmjs.com/package/@lyo/vuex-persist)
[![Build](https://bokub.github.io/lyo/badge-flat.svg)](https://www.npmjs.com/package/@lyo/vuex-persist)
[![Hits](https://data.jsdelivr.com/v1/package/npm/@lyo/vuex-persist/badge)](https://www.jsdelivr.com/package/npm/@lyo/vuex-persist)

## Usage

#### In a browser
```html
<script src="https://cdn.jsdelivr.net/npm/@lyo/vuex-persist"></script>

<script>
  vuexPersist.VuexPersistence(foo);
  vuexPersist.default(foo);
</script>
```

#### In Node.js

```sh
# Install
npm i @lyo/vuex-persist
```

```js
const vuexPersist = require('@lyo/vuex-persist')

vuexPersist.VuexPersistence(foo);
vuexPersist.default(foo);
```

## Disclaimer

This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.

Use at your own risk