Installation and Deployment
Prerequisites
- 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.
- Open the Template: Use your favorite code editor, such as Visual Studio Code, to open the template project.
Installation Steps
- Install Dependencies: In your terminal, navigate to the project directory and run the following command to install the necessary packages:
npm install
- 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. - Start the Development Server: To preview your edits, use the following command to start the development server:
npm run dev
- Build the Website: Once you are ready to deploy your site, run the following command to build the production-ready version:
npx nuxi generate
- 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.