2025-10-20 03:45:13 +00:00
|
|
|
# Nuxt Minimal Starter
|
|
|
|
|
|
|
|
|
|
Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
|
|
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
|
|
Make sure to install dependencies:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# bun
|
|
|
|
|
bun install
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Development Server
|
|
|
|
|
|
|
|
|
|
Start the development server on `http://localhost:3000`:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# bun
|
2025-10-20 05:26:17 +00:00
|
|
|
bun --bun run dev
|
2025-10-20 03:45:13 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Production
|
|
|
|
|
|
|
|
|
|
Build the application for production:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# bun
|
2025-10-20 05:26:17 +00:00
|
|
|
bunx nuxi build --preset=cloudflare_pages
|
2025-10-20 03:45:13 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Locally preview production build:
|
|
|
|
|
|
|
|
|
|
```bash
|
2025-10-20 05:26:17 +00:00
|
|
|
# bun
|
|
|
|
|
bunx wrangler pages dev dist
|
|
|
|
|
```
|
2025-10-20 03:45:13 +00:00
|
|
|
|
2025-10-20 05:26:17 +00:00
|
|
|
Deploy to Cloudflare Pages:
|
2025-10-20 03:45:13 +00:00
|
|
|
|
2025-10-20 05:26:17 +00:00
|
|
|
```bash
|
2025-10-20 03:45:13 +00:00
|
|
|
# bun
|
2025-10-20 05:26:17 +00:00
|
|
|
bunx wrangler pages deploy dist
|
2025-10-20 03:45:13 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
|