Develop your next full stack web app with Nuxt Ultra
- @nuxt/ui - Documentation
- @nuxt/eslint - Documentation
- @nuxtjs/seo - Documentation
- @nuxtjs/supabase - Documentation
- @nuxtjs/i18n - Documentation
- @nuxt/ui - Modern UI components
- @nuxt/eslint - Code linting
- @nuxtjs/seo - SEO optimization
- @nuxtjs/supabase - DB and Auth
- @nuxtjs/i18n - Internationalization
Choose from these optional integrations:
- Internationalization - Multi-language support
- Supabase - Backend-as-a-Service with authentication
- Zod - Schema validation
- Dashboard - Admin interface with authentication
- AI Integration - OpenAI, xAI, Gemini, or Claude
- Cloudflare R2 - Object storage
- Cloudflare Workers Deployment - Easy deployment to Cloudflare Workers
Look at the Nuxt documentation to learn more about Nuxt.
- Install dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install- Interactive Setup:
Run the interactive setup to configure your project with the features you need:
# npm
npm run setup
# pnpm
pnpm run setup
# yarn
yarn setupThis will guide you through selecting optional features like:
- 🌍 Internationalization (i18n)
- 🗄️ Supabase Backend
- 📝 Zod Schema Validation
- 📊 Dashboard & Authentication
- 🤖 AI Integration (OpenAI, xAI, Gemini, Claude)
- 📁 Cloudflare R2 Storage
Start the development server on http://localhost:3000:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn devNitro config is already setup to handle most common cases by using hybrid rendering. for example:
- if you use server folder it will build a server app and prerender the rest of the pages. (SSR + SSG).
- if you don't use server folder it will build a static app by prerendering all the pages (SSG). the build command will be same as running
nuxt generate.
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn buildMake sure you have configured your Cloudflare wrangler config in nuxt.config.ts file.
To deploy your Nuxt application to Cloudflare Workers, you can use the following command:
# npm
npm run deploy
# pnpm
pnpm run deploy
# yarn
yarn deployNuxt and Nitro support many modern hosting providers with zero configuration. Look at the Nuxt documentation to learn more about presets.
- Remove
nitro.preset : cloudflare-moduleandnitro.cloudflarespecific settings fromnuxt.config.tsfile. - Uninstall
wranglerpackage from your project by runningnpm uninstall wrangleroryarn remove wranglerorpnpm remove wrangler. - follow the instructions below based on your rendering mode:
After you run the build command, you will have a .output folder that contains public, server and a nitro.json. All you need is to copy the folders and files inside the .output/public and paste it in your domain directory to deploy your application.
After you run the build command, you will have a .output folder that contains public, server and a nitro.json. To deploy and run your application:
- You need to enable node extension on your hosting and domain.
- Transfer
.output/**folder to your domain directory. - create a startup
index.jsormain.jsorentry.jsfile in your domain directory along side withpublicandserverdirectory with the following content:
import('./.output/server/index.mjs');- configure node extension settings:
- set Application startup file to the file you created in step 3 e.g.
index.js - set
Document Rootto./publicfolder. (usually it's/httpdocs/publicfor top level domain) - set Application mode to
production - set Application Root to your domain directory e.g.
/httpdocs - Enable Node.js
You don't need to
npm installorRun scriptbecause all the dependencies are already bundled in the.output/serverfolder.
Check out the deployment documentation for more information.