fix readme inconsistencies

This commit is contained in:
Chris Wanstrath 2025-12-12 06:58:45 -08:00
parent 1f472e5c2c
commit 65c77aca01

View File

@ -45,7 +45,7 @@ Your project structure should be:
│   │   ├── _layout.tsx
│   │   ├── about.tsx
│   │   └── index.tsx
│   └── server.tsx
│   └── server.ts
└── tsconfig.json
```
@ -219,8 +219,8 @@ bun add git+https://git.nose.space/defunkt/hype
```json
"scripts": {
"start": "bun run index.ts",
"dev": "bun run --hot index.ts"
"start": "bun run src/server.ts",
"dev": "bun run --hot src/server.ts"
},
```
@ -256,7 +256,7 @@ bun add git+https://git.nose.space/defunkt/hype
}
```
3. Use `Hype` just like `Hono` in your `index.tsx`, exporting `app.defaults`:
3. Use `Hype` just like `Hono` in your `src/server.ts`, exporting `app.defaults`:
```typescript
import { Hype } from "hype"