Minimal documentation framework for React projects, powered by Vite. Version 1.4.1 is the latest stable release, with a current release cadence of minor updates every few months. It differentiates from alternatives like Docusaurus or Storybook by being extremely lightweight, offering zero-config setup, and focusing on single-page documentation sites with MDX support. Built on Vite for fast HMR and optimized builds. Ships TypeScript types. Requires React 19 and React DOM 19 as peer dependencies, and Node >=22. Actively maintained by Wevm.
npm install vocsVerified import paths — ran on the pinned version, not inferred.
Shows how to scaffold a new Vocs documentation site using create-vocs, then start development, build, and preview.
Upgrade to React 19 or use an older version of Vocs (if available).
Ensure your project uses ES modules (e.g., type: 'module' in package.json, or use .mjs extension).
Update Node.js to version 22 or later.
Use 'npx create-vocs@latest' to initialize a project.
Run 'npm install vocs' and ensure your project uses ES modules. Use 'import vocs from 'vocs'' instead of require.
Upgrade React and React DOM to version 19: 'npm install react@19 react-dom@19'
Install Node.js 22 or later using nvm or your package manager.