A minimal Nuxt starter deployed on the Edge using NuxtHub.
![Hello World template for NuxtHub](https://private-user-images.githubusercontent.com/904724/340425034-99d1bd54-ef7e-4ac9-83ad-0a290f85edcf.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MDAyMTksIm5iZiI6MTczODg5OTkxOSwicGF0aCI6Ii85MDQ3MjQvMzQwNDI1MDM0LTk5ZDFiZDU0LWVmN2UtNGFjOS04M2FkLTBhMjkwZjg1ZWRjZi5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QwMzQ1MTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jMzQ2NDBlNDgxNjBkY2YzMjgwNzA3MGRmMDc2OTEwZWJhN2E4NDkzYjAyYTY2MWFmNDdiMGE5OTMyOWY1YTQ2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.cYagEPl6510QOU74aKtRlaV8xOhHoHsB1TfHycSTuVY)
- Server-Side rendering on Cloudflare Workers
- ESLint setup
- Ready to add a database, blob and KV storage
- One click deploy on 275+ locations for free
Make sure to install the dependencies with pnpm:
pnpm 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
:
pnpm dev
Build the application for production:
pnpm 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.