Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Open-source documentation site for Nuxt 2, built with Nuxt and Docus.
Nuxt 2 Documentation Website is an open-source documentation site template that powers the official Nuxt 2 docs, built with Nuxt 2 and the Docus documentation theme. The repository contains everything needed to run a content-driven documentation website: content lives in Markdown/MDC files under the content/ directory, and the site generates pages from those files on the fly. It is maintained by the Nuxt project under the CC BY-ND 4.0 license for design materials.
The Nuxt 2 Documentation Website is the source code for the official documentation site of Nuxt 2, hosted at v2.nuxt.com. It is built using Nuxt 2 and Docus, a documentation theme created by the Nuxt team. The site takes Markdown/MDC files from the content/ directory as input and produces a static documentation website as output. The repository also includes setup and development instructions for contributors.
yarn dev to start a development server at http://localhost:4000 with hot reload for instant preview of edits.Start by cloning the repository and running npm install to install dependencies. To develop locally, run yarn dev and open http://localhost:4000 in your browser; the site rebuilds as you edit files in content/. The repository also recommends installing the Docus extension for VS Code to improve the MDC editing experience. Contributions are made by editing content and opening pull requests.
Yes, the repository is open source. The design materials are licensed under Creative Commons Attribution-NoDerivatives 4.0 International, which allows sharing and non-commercial use with attribution, though derivative works are not permitted.
Docus is a documentation theme for Nuxt that provides pre-built components for navigation, content display, and search. It is used here to generate the Nuxt 2 documentation site from Markdown/MDC files.
Basic familiarity with Markdown is enough to edit documentation content. For deeper changes to layout or theming, knowledge of Nuxt and Vue components is helpful.
The development server runs on port 4000 (http://localhost:4000) when you execute yarn dev.
Create a new Markdown or MDC file inside the content/ directory following the existing file structure. The Docus theme automatically picks it up and adds it to the site navigation.
