stateli-vue
TypeScript icon, indicating that this package has built-in type declarations

1.0.12 • Public • Published

Stateli Vue

Build Status Coverage Status

A Vue plugin to enable Stateli to work with Vue DevTools.

Installation

Install stateli-vue with npm.

$ npm install stateli stateli-vue --save

Usage

import Vue from 'vue';
import { StateliStore } from 'stateli';
import StateliVue from 'stateli-vue';
import App from './App.vue'; // <-- your main app component
 
Vue.use(StateliVuePlugin);
 
const store = new StateliStore({
  actions: [],
  mutations: [],
  getters: [],
  state: {},
});
 
const vueInstance = new Vue({
  store,
  render: h => h(App),
});

License

MIT

Package Sidebar

Install

npm i stateli-vue

Weekly Downloads

1

Version

1.0.12

License

MIT

Unpacked Size

22.7 kB

Total Files

25

Last publish

Collaborators

  • walts81