@jumentix/cana-vue

Vue composables and Pinia-friendly helpers for @jumentix/cana.
Install
npm install @jumentix/cana-vue
Latest Version:0.1.0
Vue:3
License:MIT
Last Updated:Oct 26, 2026
Links: GitHub  ·  npm
Maintainer: xpertminds

@jumentix/cana-vue

Composables Vue e helpers para Pinia sobre @jumentix/cana.

Instalação

npm install @jumentix/cana @jumentix/cana-vue vue

Live query

import { useCanaLiveQuery } from '@jumentix/cana-vue';

const tasks = useCanaLiveQuery<Task>({
  client,
  store: 'tasks',
  query: { index: 'byCategory', equals: categoryId },
  getKey: (task) => task.id
});

useCanaLiveQuery() carrega uma tabela e mantém uma ref Vue atualizada a partir de eventos Cana confirmados. Stores Pinia podem usar o mesmo helper applyCanaEventToRecords() dentro de actions.

Related Packages

@noy-db/in-pinia

Pinia integration for noy-db — defineNoydbStore() and the augmentation plugin fo...

19,220 0
@noy-db/in-nuxt

Nuxt 4 module for noy-db — auto-imports, SSR-safe runtime plugin, and the @noy-d...

18,164 0
vue-idb

IndexedDB wrapper for Vuejs based on Dexie

7,532 81
@volverjs/query-vue

Repository pattern applied to a pinia store.

6,325 3
taro-plugin-pinia

Taro&vue3 支持使用 Pinia 进行状态管理的插件

3,934 10

Version History

Version Released Vue License
0.1.0 >=3.3.0 MIT