vue-ls-loader

1.0.2 • Public • Published

vue-ls-loader

The loader of vue-ls for vue, it needs to be used with vue-ls pachage. Support to use local, session, memory storages at the same time.




Getting started

The loader of vue-ls for vue, it needs to be used with vue-ls pachage. Support to use local, session, memory storages at the same time.

  1. Install the package:
npm install --save vue-ls-loader
  1. Add the package into your app:
import Vue from 'vue'

import VueLsLoader from 'vue-ls-loader'
Vue.use(VueLsLoader) // default use local storage
or
Vue.use(VueLsLoader, ['local', 'session', 'memory']) //options param is an array, Can use 1-3 storages at the same time
or
Vue.use(VueLsLoader, [{
    storage: 'local',
    namespace: [namespace]
}, {
    storage: 'session',
    namespace: [namespace]
}, {
    storage: 'memory',
    namespace: [namespace]
}])



Change Log

CHANGELOG.md




Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    2
  • 1.0.0
    1

Package Sidebar

Install

npm i vue-ls-loader

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

6.25 kB

Total Files

6

Last publish

Collaborators

  • louisnikai