# @unhead/vue > Full-stack `
` management for Vue applications [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![License][license-src]][license-href] ## Features - 🖖 Vue-optimized head management - 🔄 Reactive titles, meta tags, and other head elements - 🔍 SEO-friendly head control - 🖥️ Server-side rendering support - 📦 Lightweight with zero dependencies (except for Vue & unhead) ## Installation ```bash # npm npm install @unhead/vue # yarn yarn add @unhead/vue # pnpm pnpm add @unhead/vue ``` ## Usage ### Setup #### Client-side (SPA) ```ts import { createHead } from '@unhead/vue/client' // main.ts import { createApp } from 'vue' import App from './App.vue' const app = createApp(App) const head = createHead() app.use(head) app.mount('#app') ``` #### Server-side (SSR) ```ts import { createHead } from '@unhead/vue/server' // entry-server.ts import { renderToString } from 'vue/server-renderer' import { createApp } from './main' export async function render(url: string) { const { app } = createApp() const head = createHead() app.use(head) const html = await renderToString(app) return { html, head } } ``` ```ts import { createHead } from '@unhead/vue/client' // entry-client.ts (for hydration) import { createApp } from './main' const { app } = createApp() const head = createHead() app.use(head) app.mount('#app') ``` ### Basic Usage ```vue