https://github.com/oscartbeaumont/vite-hono
Vite + SolidJS + Hono + Vercel starter
https://github.com/oscartbeaumont/vite-hono
edge hono solid solidjs vercel vercel-edge-functions vite
Last synced: 26 days ago
JSON representation
Vite + SolidJS + Hono + Vercel starter
- Host: GitHub
- URL: https://github.com/oscartbeaumont/vite-hono
- Owner: oscartbeaumont
- Created: 2024-01-17T02:31:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-17T05:12:30.000Z (over 1 year ago)
- Last Synced: 2025-03-29T19:02:08.750Z (about 2 months ago)
- Topics: edge, hono, solid, solidjs, vercel, vercel-edge-functions, vite
- Language: TypeScript
- Homepage: https://vite-hono.vercel.app
- Size: 62.5 KB
- Stars: 10
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vite + Hono
An example of building a [SolidJS](https://www.solidjs.com) app using [Vite](https://vitejs.dev) w/ a [Hono](https://hono.dev) backend which is deployed to [Vercel Edge Functions](https://vercel.com/docs/functions/edge-functions).
## Usage
```bash
pnpm i
pnpm dev # Uses Vite dev server and serve Hono at `/api/*` like Vercel does
```Vercel deploys don't require any special configuration!
## Limitations
- Edge Functions are run in Node.js during development. This is how [SolidStart](https://start.solidjs.com) works so it is acceptable for now.
- Using pnpm patch for `@hono/vite-dev-server` until [honojs/vite-plugins#50](https://github.com/honojs/vite-plugins/pull/50) is merged.