# class-stores-plugin

> ### Usage:

Latest version **0.0.5** (published 2022-02-23) · 0 weekly downloads

## Install

```sh
npm install class-stores-plugin
pnpm add class-stores-plugin
yarn add class-stores-plugin
bun add class-stores-plugin
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2022-02-23 |
| First published | 2021-12-15 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | itsmrsammeh |

## Links

- npm: https://www.npmjs.com/package/class-stores-plugin
- npm.io page: https://npm.io/package/class-stores-plugin

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [@types/lodash](https://npm.io/package/@types/lodash.md) ^4.14.178
- [@vue/devtools-api](https://npm.io/package/@vue/devtools-api.md) ^6.0.0-beta.20.1

## Recent versions

- 0.0.5 (latest) — 2022-02-23
- 0.0.4 — 2022-01-25
- 0.0.3 — 2021-12-17
- 0.0.2 — 2021-12-15
- 0.0.1 — 2021-12-15

## README

# Vue Class Stores - Dev Tools Plugin

### Usage:

```shell
npm install class-stores-plugin
yarn add class-stores-plugin
```

```javascript
import Vue               from 'vue';
import ClassStoresPlugin from 'class-stores-plugin';

Vue.use(ClassStoresPlugin);

const app = new Vue({}).$mount(document.getElementById('app'));
```

I had some scenarios where the above doesn't work, if this is the case, you can do it this way:

```javascript
import Vue             from 'vue';
import {setupDevtools} from 'class-stores-plugin';

const app = new Vue({}).$mount(document.getElementById('app'));

setupDevtools(app);
```

## Viewing Class Stores
In vue devtools, click the dropdown and select "Class Stores"

![vue-dev-tools-access.png](repo/vue-dev-tools-access.png)

Select your class store, and you can now see your state, methods & getters :)
![img.png](repo/devtools.png)

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