Nuxt Wiki

Installation and Deployment

Prerequisites

  1. Install Node.js: Download and install Node.js from Node.js Official Website. This will allow you to run JavaScript code on your machine and manage dependencies for the project.
  2. Open the Template: Use your favorite code editor, such as Visual Studio Code, to open the template project.

Installation Steps

  1. Install Dependencies: In your terminal, navigate to the project directory and run the following command to install the necessary packages:
    npm install
    
  2. Configure the Application: Fill in your website details in app.config.ts. This configuration file contains settings that are essential for your site.
    For more details on creating pages and navigation, check the Pages and Navigation documentation.
  3. Start the Development Server: To preview your edits, use the following command to start the development server:
    npm run dev
    
  4. Build the Website: Once you are ready to deploy your site, run the following command to build the production-ready version:
    npx nuxi generate
    
  5. Deploy Your Site: Finally, upload the contents of the .output/public folder to your static web hosting provider. You are done!

By following these steps, you will successfully install and deploy your project.