How to use the vue-ls.Types function in vue-ls

To help you get started, we’ve selected a few vue-ls examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DefinitelyTyped / DefinitelyTyped / types / vue-ls / vue-ls-tests.ts View on Github external
import Vue from 'vue';
import VueStoragePlugin, * as VueStorage from 'vue-ls';

const storageOptions: VueStorage.Options = {
    namespace: 'my_project',
    name: 'ls',
    storage: VueStorage.Types.Local,
};

Vue.use(VueStoragePlugin, storageOptions);

vue-ls

Vue plugin for work with LocalStorage from Vue context

MIT
Latest version published 3 years ago

Package Health Score

53 / 100
Full package analysis

Popular vue-ls functions