Installation
Get started with Docus by creating a new documentation project using thecreate-docus CLI tool.
Quick Start
The fastest way to start with Docus is using the CLI, which scaffolds a complete documentation project:The CLI will prompt you to choose between two templates:
default for single-language documentation, or i18n for multi-language support.Step-by-Step Installation
Create your project
Use the For multi-language documentation, use the i18n template:
create-docus CLI to scaffold a new documentation project:Start development server
Start your documentation site in development mode:Your documentation will be available at
http://localhost:3000What the CLI Creates
Thecreate-docus CLI scaffolds a minimal project structure:
The generated project uses the Docus layer via the
--extends docus flag in package.json scripts. This keeps your project clean and minimal.Templates
Default Template
The default template creates a basic documentation project ready for single-language content:- Basic content structure
- Single-language routing
- Minimal configuration
I18n Template
Use the-t i18n flag to create a project with internationalization support:
- Pre-configured
@nuxtjs/i18nmodule - Locale-based content structure (
content/en/,content/fr/) - Built-in language switcher
- Automatic URL prefixing (
/en/docs,/fr/docs)
Manual Installation
If you prefer to set up Docus manually in an existing Nuxt project, you can install the layer directly:Install dependencies
Install the required packages:
better-sqlite3 is required by Nuxt Content for the native SQLite connector.Adding Internationalization
To add i18n support to your Docus project:Deployment
Docus is built on Nuxt, so it can be deployed to any platform that supports Node.js:Vercel
Deploy with zero configuration using Vercel’s Nuxt integration.
Netlify
Deploy with automatic builds and preview deployments.
Cloudflare Pages
Deploy to Cloudflare’s edge network for global performance.
Nuxt Deployment
See the official Nuxt deployment documentation for more options.
Online Development
You can also start with an online template and deploy directly from Vercel:Deploy with Vercel
Click to deploy the Docus template and create your git repository directly from Vercel.
Next Steps
Project Structure
Learn about the project structure and configuration options
Troubleshooting
Common issues and solutions when working with Docus