Update README.md
This commit is contained in:
@@ -61,8 +61,8 @@ The goal is a framework that is:
|
||||
|
||||
- [Bun](https://bun.sh) v1.0 or later
|
||||
- TypeScript 5.0+
|
||||
|
||||
> **React is managed by Bunext.** You do not need to install `react` or `react-dom` — Bunext enforces its own pinned React version and removes any user-installed copies at startup to prevent version conflicts. Installing this package is all you need.
|
||||
- react 18.0+
|
||||
- react-dom 18.0+
|
||||
|
||||
---
|
||||
|
||||
@@ -103,6 +103,12 @@ bun add -g @moduletrace/bunext
|
||||
bun add github:moduletrace/bunext
|
||||
```
|
||||
|
||||
### Install react and react-dom
|
||||
|
||||
```bash
|
||||
bun add react react-dom
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Quick Start
|
||||
@@ -150,11 +156,11 @@ bun run dev
|
||||
|
||||
## CLI Commands
|
||||
|
||||
| Command | Description |
|
||||
| -------------- | ---------------------------------------------------------------------- |
|
||||
| `bunext dev` | Start the development server with HMR and file watching. |
|
||||
| Command | Description |
|
||||
| -------------- | ------------------------------------------------------------------------------ |
|
||||
| `bunext dev` | Start the development server with HMR and file watching. |
|
||||
| `bunext build` | Bundle all pages for production. Outputs artifacts to `.bunext/public/pages/`. |
|
||||
| `bunext start` | Start the production server using pre-built artifacts. |
|
||||
| `bunext start` | Start the production server using pre-built artifacts. |
|
||||
|
||||
### Running the CLI
|
||||
|
||||
|
||||
Reference in New Issue
Block a user