/nuxtjs.org

Nuxt.js Documentation Website (Universal Vue.js Application built with Nuxt.js)

Primary LanguageVue

nuxtjs.org

Gitpod Ready-to-Code

Universal Vue.js Application built with Nuxt.js.

Setup

git clone https://github.com/nuxt/nuxtjs.org.git
cd nuxtjs.org/
yarn install
git clone https://github.com/nuxt/docs

The markdown files are store at https://github.com/nuxt/docs, this is why we clone it inside the nuxtjs.org directory.

Development

Start a dev server on http://nuxt:3000

yarn dev

To change the locale, use NUXT_LOCALE env:

# start the documentation in french
NUXT_LOCALE=fr yarn dev

The value represents the directory name inside docs, default value is en.

Production

yarn generate
yarn serve
# Checkout http://localhost:3000

zh.nuxtjs.org

Nuxt.js 官网 nuxtjs.org 的简体中文版,由凹凸实验室负责翻译整理。

欢迎关注我们的微信公众号(微信里面搜凹凸实验室),关于 Nuxt.js 的最新信息会通过公众号发布。

Chinese translation of primary Nuxt.js documentation site. Supported by AOTU Labs.