@loomup/vue
Vue 3 composables and plugin for Loomup Realtime
4,141
| Install | |
|---|---|
npm install @loomup/vue |
|
| Latest Version: | 0.1.28 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Oct 1, 2026 |
| Links: | GitHub · npm |
Maintainer: mohitdotdev
@loomup/vue
Vue 3 plugin and composables for Loomup, built on @loomup/client.
npm install @loomup/client @loomup/vue
import { createApp } from "vue";
import { createClient } from "@loomup/client";
import { LoomupPlugin, useAuth, useLiveQuery } from "@loomup/vue";
import App from "./App.vue";
const client = createClient({ url: "http://127.0.0.1:3000" });
const app = createApp(App);
app.use(LoomupPlugin, { client, persist: { enabled: true } });
app.mount("#app");
<script setup lang="ts">
import { useAuth, useLiveQuery } from "@loomup/vue";
const { user, signIn } = useAuth();
const { data } = useLiveQuery("todos", { strategy: "merge" });
</script>
Full documentation: tryloomup.com/docs.
npm install && npm test && npm run build
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 0.1.28 | MIT | |
| 0.1.27 | MIT | |
| 0.1.26 | MIT | |
| 0.1.25 | MIT | |
| 0.1.23 | MIT | |
| 0.1.22 | MIT | |
| 0.1.21 | MIT | |
| 0.1.20 | MIT | |
| 0.1.19 | MIT | |
| 0.1.18 | MIT | |
| 0.1.17 | MIT | |
| 0.1.16 | MIT | |
| 0.1.15 | MIT | |
| 0.1.14 | MIT | |
| 0.1.13 | MIT | |
| 0.1.12 | MIT | |
| 0.1.11 | MIT | |
| 0.1.10 | MIT | |
| 0.1.9 | MIT | |
| 0.1.8 | MIT | |
| 0.1.7 | MIT | |
| 0.1.6 | MIT | |
| 0.1.4 | MIT | |
| 0.1.3 | MIT | |
| 0.1.2 | MIT | |
| 0.1.1 | MIT |