@useavalon/vue

Vue integration for Avalon islands architecture
2,809
Install
npm install @useavalon/vue
Latest Version:0.1.13
Vue:3
License:MIT
Last Updated:Oct 23, 2026
Links: GitHub  ·  npm
Maintainer: madshaerup

@useavalon/vue

Vue 3 integration for Avalon. Server-side rendering and client-side hydration for Vue Single File Components as islands.

Features

  • Vue 3 with Composition API and <script setup>
  • Server-side rendering via @vue/server-renderer
  • Scoped CSS extraction from SFCs
  • All hydration strategies (on:client, on:visible, on:idle, on:interaction)

Usage

<!-- components/Counter.vue -->
<script setup>
import { ref } from 'vue';
const count = ref(0);
</script>

<template>
  <button @click="count++">Count: {{ count }}</button>
</template>
// pages/index.tsx
import Counter from '../components/Counter.vue';

export default function Home() {
  return <Counter island={{ condition: 'on:visible' }} />;
}

Links

License

MIT

Related Packages

lazy-hydration

Lazy Hydration for Vue SSR

6,488 139
nuxt-lazy-hydration

Lazy hydration of server-side rendered Vue.js components

2,795
@application-kit/vue-ssr

SSR приложения на Vue.js: рендер страницы со снимком Pinia и повтором на 500, ги...

328
vue-lazy-hydration

Lazy Hydration of Server-Side Rendered Vue.js Components

771,759 1,187
vue3-lazy-hydration

Lazy Hydration for Vue 3 SSR

689,047 161

Version History

Version Released Vue License
0.1.13 ^3.4.0 MIT
0.1.12 ^3.4.0 MIT
0.1.11 ^3.4.0 MIT
0.1.10 ^3.4.0 MIT
0.1.9 ^3.4.0 MIT
Pre-releases (5)
Version Released Vue License
0.1.11-canary.19 ^3.4.0 MIT
0.1.11-canary.17 ^3.4.0 MIT
0.1.11-canary.16 ^3.4.0 MIT
0.1.11-canary.10 ^3.4.0 MIT
0.1.10-canary.1 ^3.4.0 MIT