- Notifications
You must be signed in to change notification settings - Fork175
The Nuxt website, made with Nuxt.
License
nuxt/nuxt.com
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Welcome to the Nuxt website repository available onnuxt.com.
Make sure to enable corepack and install the dependencies:
corepackenablepnpm install
Copy the.env.example
file to.env
:
cp .env.example .env
Clone/Forknuxt/nuxt repo where you want (but not in the Nuxt.com project) and inside thedocs/
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 theNUXT_DOCS_PATH
variable in the.env
file.
Start the development server:
pnpm dev
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 tohttp://localhost:3000/templates to see the result.
If you want to update the url where we take the automated screenshot, use thescreenshotUrl
property.
To regenerate the image, delete the generated one inpublic/assets/templates
.
In order to build the application for production, you need to have aNuxt UI Pro license and set theNUXT_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:
pnpm generate
About
The Nuxt website, made with Nuxt.