fix readme inconsistencies
This commit is contained in:
parent
1f472e5c2c
commit
65c77aca01
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user