Welcome to the Nuxt website repository available on nuxt.com.
Make sure to enable corepack and install the dependencies:
corepack enable
pnpm installCopy the .env.example file to .env:
cp .env.example .envClone/Fork nuxt/nuxt repo where you want (but not in the Nuxt.com project) and inside the root of the repo, run:
pwdIf 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_PATH and NUXT_V4_PATH variables in the .env file.
Start the development server:
pnpm devTo list a Nuxt template, add a file in the ./content/templates directory.
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.
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:
pnpm generate