Universal Vue.js Application built with Nuxt.js.
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.
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
.
yarn generate
yarn serve
# Checkout http://localhost:3000