mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-14 19:19:27 +01:00
c62b4fc20a9916258b12245b4868c5dda7c24436
Hello Edge
A minimal Nuxt starter deployed on the Edge using NuxtHub.
Features
- 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
Setup
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!"
Development Server
Start the development server on http://localhost:3000:
pnpm dev
Production
Build the application for production:
pnpm build
Deploy
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.
Description
Languages
TypeScript
71%
Vue
28.4%
JavaScript
0.4%
CSS
0.2%