Overview
The Nuxt website repository is available on nuxt.com. This document provides instructions for setting up and working with the Nuxt UI Pro theme.
Features
- Setup: Install the necessary dependencies and configure the environment variables.
- Development: Start the development server and add Nuxt templates.
- Production: Build the application for production using a Nuxt UI Pro license.
Installation
- Install the dependencies.
- Copy the .env.example file to .env.
- Clone or fork the nuxt/nuxt repository to a desired location.
- Run the command mentioned in the /docs directory.
- Copy the output of the command and paste it into the NUXT_DOCS_PATH variable in the .env file.
- Start the development server.
- To add a Nuxt template, update the list in ./content/4.templates.yml.
- Start the development server again to generate the template screenshot at http://localhost:3000/templates.
- If needed, update the screenshotUrl property to change the screenshot source URL.
- To regenerate the template image, delete the existing one in public/assets/templates.
- To build the application for production, ensure you have a Nuxt UI Pro license and set the NUXT_UI_PRO_LICENSE variable in the .env file.
- Build the application for production using the provided command.
Summary
The Nuxt website repository offers a Nuxt UI Pro theme with features for setting up, developing, and building applications. The installation process involves installing dependencies, configuring environment variables, and starting the development server. Nuxt templates can be added and their screenshot URLs can be updated. For production deployment, a Nuxt UI Pro license is required to build the application. The theme is available under the MIT License.