Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/regenrek/nuxt-hub-test
https://github.com/regenrek/nuxt-hub-test
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/regenrek/nuxt-hub-test
- Owner: regenrek
- Created: 2024-08-23T18:41:20.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-23T18:42:15.000Z (4 months ago)
- Last Synced: 2024-08-23T20:29:26.253Z (4 months ago)
- Language: Vue
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- 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).
# nuxt-hub-test