@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

@loomup/nuxt

Nuxt module for Loomup (cookie sessions, server client, Vue composables)

4,277 0

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