Introduction
This guide covers deploying Nuxt applications on Shard Cloud. Nuxt is a Vue.js framework for server-side rendering and static site generation.Creating Your Project
Ensure you have Node.js and npm installed.Creating a New Nuxt Project
Development Server
Building Your Project
Build the production output:.output folder with the server and static files.
Shard Cloud Configuration
Create a.shardcloud file:
.shardcloud
The main file for Nuxt 3 is
.output/server/index.mjs after building.Deploying
Upload to Shard Cloud
Go to Shard Cloud Dashboard and upload.
Alternative: Build on Deploy
If you prefer to build on the server:.shardcloud
Additional Resources
Visit the official Nuxt documentation for more information.Troubleshooting
Build fails
Build fails
- Ensure all dependencies are in
package.json - Check for TypeScript errors
- Increase memory if needed
Server not starting
Server not starting
Verify the
.output folder was created and contains server/index.mjs.