A minimal Nuxt starter deployed on the Edge using NuxtHub.
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
You can update the main text displayed by creating a .env:
NUXT_PUBLIC_HELLO_TEXT="Hello my world!"
Start the development server on http://localhost:3000:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
Build the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
Deploy the application on the Edge with NuxtHub on your Cloudflare account:
npx nuxthub deploy
Then checkout your server logs, analaytics and more in the NuxtHub Admin.
You can also deploy using Cloudflare Pages CI.
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.