Deployment
Once you have customized your website and are ready to make it live, follow these steps to deploy your project.
Step 1: Generate the Project
Before deploying, you need to create a production-ready build of your website. Run the following command in your project directory:
npx nuxi generate
Step 2: Upload to Hosting Service
After generating the static files, you can upload them to your chosen static hosting service, such as Netlify or Vercel. Simply upload the contents of the .output/public
folder to your hosting provider.
Step 3: Test Your Deployment
Once deployed, visit your website's URL to verify that everything is functioning as expected.
Congratulations! Your new website is now live.