vue3-storage
Version:
Vue3 plugin for work with local storage, session storage and websql from Vue context, inspired by tarojs and vue-ls.
9 lines (8 loc) • 346 B
TypeScript
import { App } from "vue";
import { StorageInterface, StorageConfig, StorageType } from "./types";
declare const Vue3Storage: {
install: (app: App, options: StorageConfig) => void;
};
export declare const useStorage: (namespace?: string | false) => StorageInterface;
export { StorageConfig, StorageType };
export default Vue3Storage;