https://github.com/nuxt-hub/hello-edge
A minimal Nuxt starter running on the edge.
https://github.com/nuxt-hub/hello-edge
cloudflare nuxt nuxthub ssr vue
Last synced: 7 days ago
JSON representation
A minimal Nuxt starter running on the edge.
- Host: GitHub
- URL: https://github.com/nuxt-hub/hello-edge
- Owner: nuxt-hub
- Created: 2024-06-14T14:25:24.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-04T16:12:28.000Z (6 months ago)
- Last Synced: 2024-12-06T17:25:35.630Z (5 months ago)
- Topics: cloudflare, nuxt, nuxthub, ssr, vue
- Language: Vue
- Homepage: https://hello.nuxt.dev
- Size: 1.18 MB
- Stars: 15
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello Edge
A minimal [Nuxt](https://nuxt.com) starter deployed on the Edge using [NuxtHub](https://hub.nuxt.com).
https://hello.nuxt.dev
## 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](https://pnpm.io/installation#using-corepack):
```bash
pnpm install
```You can update the main text displayed by creating a `.env`:
```bash
NUXT_PUBLIC_HELLO_TEXT="Hello my world!"
```## Development Server
Start the development server on `http://localhost:3000`:
```bash
pnpm dev
```## Production
Build the application for production:
```bash
pnpm build
```## Deploy
Deploy the application on the Edge with [NuxtHub](https://hub.nuxt.com) on your Cloudflare account:
```bash
npx nuxthub deploy
```Then checkout your server logs, analaytics and more in the [NuxtHub Admin](https://admin.hub.nuxt.com).
You can also deploy using [Cloudflare Pages CI](https://hub.nuxt.com/docs/getting-started/deploy#cloudflare-pages-ci).