Skip to content

Gr33nW33n/nuxt.com

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuxt Website

nuxt.com

Welcome to the Nuxt website repository available on nuxt.com.

Nuxt UI Pro

Setup

Make sure to install the dependencies

pnpm install

Copy the .env.example file to .env:

cp .env.example .env

Clone/Fork nuxt/nuxt repo where you want (but not in the Nuxt.com project) and inside the docs/ directory, run:

pwd

If you are on Windows, you can use the following command instead:

echo %cd%

Copy the output of the command above and paste it in the NUXT_DOCS_PATH variable in the .env file.

Development

Start the development server:

npm run dev

Add a Nuxt Template

To list a Nuxt template, add it to the list on ./content/4.templates.yml.

Make sure to start the development server in order to generate the screenshot for the template and go to http://localhost:3000/templates to see the result.

If you want to update the url where we take the automated screenshot, use the screenshotUrl property.

To regenerate the image, delete the generated one in public/assets/templates.

Production

In order to build the application for production, you need to have a Nuxt UI Pro license and set the NUXT_UI_PRO_LICENSE variable in the .env file.

Note that this is not required to run in development and contribute to the Nuxt website or documentation.

Build the application for production:

npm run generate

License

MIT License

About

The Nuxt website, made with Nuxt.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 78.2%
  • TypeScript 21.1%
  • JavaScript 0.7%