{"library":"vite-ssg","type":"library","category":null,"description":"Vite SSG is a library designed for static-site generation (SSG) of Vue 3 applications built with Vite. It streamlines the process of pre-rendering your Vue application into static HTML files, enhancing SEO and initial load performance. The current stable version is v28.3.0, and the project maintains a regular release cadence, often aligning with updates to its peer dependencies like Vite and Vue Router, with occasional minor and patch releases. Key differentiators include its tight integration with the Vite ecosystem, built-in support for `@unhead/vue` for document head management, and automatic critical CSS generation via the `beasties` package. Since v27.0.0, Vite SSG has exclusively adopted an ESM-only module format, dropping CommonJS support entirely. It supports Vue Router for multi-page SSG and offers a specialized entry point for single-page SSG scenarios, requiring Node.js v20 or newer.","language":"javascript","status":"active","version":"28.3.0","tags":["javascript","vite","vite-plugin","ssg","ssr","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vite-ssg","imports":["import { ViteSSG } from 'vite-ssg'","import { ViteSSG } from 'vite-ssg/single-page'","import { useHead } from '@unhead/vue'","import { ClientOnly } from 'vite-ssg/client'"]},{"cmd":"yarn add vite-ssg","imports":[]},{"cmd":"pnpm add vite-ssg","imports":[]}],"homepage":null,"github":"https://github.com/antfu-collective/vite-ssg","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-ssg","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vite-ssg/compatibility"}}