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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2ODk3NzAsIm5iZiI6MTcyNDY4OTQ3MCwicGF0aCI6Ii85MDQ3MjQvMzQwNDI1MDM0LTk5ZDFiZDU0LWVmN2UtNGFjOS04M2FkLTBhMjkwZjg1ZWRjZi5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyNlQxNjI0MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01MGZmODUwNzE3OGIzZDYwOTgyOTEwZDZkOGQyNGEyNmIzMGQzZTRmNGU5MjJiMjg4ZGM1OWE5NDAyNWVmMDcyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.b4pylDH4my_g_s0k0Ql07EXIOQrxZFu3HykZOcLWZHE)
- 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.
I used this repo as an example to get Playwright running. playwright-nuxt3-e2e