# vlf **Repository Path**: Jhlxge/vue-localforage ## Basic Information - **Project Name**: vlf - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-15 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vlf vue-localforage # Install ```bash npm install --save vlf ``` # How to use vlf ```javascript import Vlf from 'vlf' Vue.use(Vlf) ``` # In your code ```javascript this.$vlf.createInstance({ storeName: 'user' }).then((store) => { store.setItem('key', []) store.length().then((keys) => { console.log(keys) }) store.iterate((value, key, num) => { return [key, value] }).then((result) => { console.log(result) }) }) ``` --- The other methods of use are the same as the official website, just add a this.$vlf in front, the same behind!