vue-idb

IndexedDB wrapper for Vuejs based on Dexie
7,532 81
Install
npm install vue-idb
Latest Version:0.2.0
Vue:2
License:MIT
Last Updated:Sep 27, 2021
Links: GitHub  ·  npm
Maintainer: ddgll

vue-idb

IndexedDB wrapper for Vuejs based on Dexie

Install

npm install vue-idb --save

Usage

import Vue from 'vue'
import VueIdb from 'vue-idb'

Vue.use(VueIdb)

const idb = new VueIdb({
  version: 1,
  database: 'test',
  schemas: [
    { tests: 'id, title, created_at, updated_at' },
  		{ posts: 'id, owner' }
  ]
})

new Vue({
  el: '#app',
  idb: idb,
  render: h => h(App)
})

0.2.0 BUGFIX

BUGFIX on adding schemas on existing DB UPDATES dependencies #32

0.1.11 BUGFIX

ADD xxxReset action ADD payload to load action

0.1.10 BUGFIX

RETURN Promise.reject() BUGFIX #22

0.1.4 Enhancement

BUGFIX on listSelect vuex action BUGFIX on toggleSelect vuex action

0.1.3 Enhancement

Add Dexie DB version in options

0.1.2 Enhancement

Add Select action in biglist

Related Packages

@tracer-kit/browser

Browser runtime and Vue 3 integration for encrypted Tracer diagnostics.

449
@h_domi/domi-indexed-sqlite

Easy SQLite-WASM wrapper for Nuxt and Vue 3 with IndexedDB backup support.

361
@jumentix/cana-vue

Vue composables and Pinia-friendly helpers for @jumentix/cana.

0 0
@cxcxcx/client-logger

前端客户端日志 SDK:全局错误监控、UI 库自动识别、行为埋点、IndexedDB 即时持久化...

0

Version History

Version Released Vue License
0.2.0 ^2.5.3 MIT
0.1.11 ^2.3.3 MIT
0.1.10 ^2.3.3 MIT
0.1.9 ^2.3.3 MIT
0.1.8 ^2.3.3 MIT