@vitella-ssr/vue

A plugin to support Vue in Vitella
903
Install
npm install @vitella-ssr/vue
Latest Version:0.1.6
Vue:3
License:MIT
Last Updated:Aug 17, 2026
Links: npm
Maintainer: oatbag

@vitella-ssr/vue

Vue adapter for Vitella. Renders Vue components to HTML during SSR and generates client hydration code. Includes the useHead composable for injecting <title>, <meta>, and <link> tags from within components.

// vitella.config.ts
import { vitellaPlugin } from '@vitella-ssr/core'
import { vueAdapter } from '@vitella-ssr/vue'

export default {
  plugins: [vitellaPlugin({
    appShell: 'src/app.html',
    adapter: vueAdapter,
  })],
}
<!-- src/pages/index.vue -->
<script setup>
import { useHead } from '@vitella-ssr/vue'

useHead({
  title: 'Home',
  meta: [{ name: 'description', content: 'Welcome' }],
})
</script>

<template>
  <h1>Hello SSR</h1>
</template>

Version History

Version Released Vue License
0.1.6 3.5.41 MIT
0.1.5 3.5.38 MIT
0.1.4 3.5.38 MIT
0.1.3 3.5.38
0.1.2 3.5.38