@vuexcellent/vuex
v2.0.2
Published
Autoloader for server provided initial state.
Downloads
16
Readme
Vuexcellent
Vuexcellent is an easy to use way to load data from your Laravel backend to your Vuex managed front end. For more info visit Vuexcellent
This is the repo containing the Vue.js component of Vuexcellent.
Vue.js installation
npm install @vuexcellent/vuex
yarn add @vuexcellent/vuex
Now just use @vuexcellent/vuex
instead of vuex
when you are creating your store.
import Vuex, { Store } from '@vuexcellent/vuex'
const store = new Store({
//...
All vuex options are re-exported from vuexcellent for ease of use. For example:
import { mapState } from '@vuexcellent/vuex'