2.0.17 • Published 4 years ago

@salesqueze/conf-helper v2.0.17

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

@salesqueze/conf-helper

@salesqueze/conf-helper

SaleSqueze Configurator Helper Vuex Store module for NuxtJS and Vue

Features

  • Configurator state management
  • Persistant storage

📖  Read the documentation

Installing

npm install @salesqueze/conf-helper

Adding to Your Project

@salesqueze/conf-helper is a Vuex module, so adding it to your project is as simple as including the package as a module in your Vuex store. The index.js for your Vuex store should look something like this:

import Vue from "vue";
import Vuex from "vuex";
import helper from "@salesqueze/conf-helper";

Vue.use(Vuex);

export default new Vuex.Store({
  modules: { helper },
  state: {},
  mutations: {},
  actions: {},
  getters: {},
});

* Load the items from local storage

store.dispatch(LOAD_CART_FROM_STORAGE);

This is commonly dispatched every time that your vue application mounts. For example, in the `mounted` in your `app.vue` or in a `router.beforeEach()`.

## Built With

* [lodash](https://lodash.com/) - A modern JavaScript utility library
* [Vue](https://vuejs.org//) - JavaScript framework
2.0.17

4 years ago

2.0.15

4 years ago

2.0.16

4 years ago

2.0.13

4 years ago

2.0.14

4 years ago

2.0.11

4 years ago

2.0.12

4 years ago

2.0.9

4 years ago

2.0.10

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

1.0.1

4 years ago