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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNTg1NDgsIm5iZiI6MTcyMzM1ODI0OCwicGF0aCI6Ii85MDQ3MjQvMzQwNDI1MDM0LTk5ZDFiZDU0LWVmN2UtNGFjOS04M2FkLTBhMjkwZjg1ZWRjZi5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxMVQwNjM3MjhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMWUzMTNiNTA4MzQ2NWQ2Y2I1MDZmMDlhNjc1Nzk0ZTM0Yjg2OWEwMTNjNTZlOTgyZTVjMjVmMGZiYmVkYjJlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.myMjhiCy91wAiqBS4rJ0XQZ3WK1gqZULMnS8GaehdWg)
- 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.