Updated readme to use bun
This commit is contained in:
@@ -1,28 +1,47 @@
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
$ npm install # or pnpm install or yarn install
|
||||
$ bun install
|
||||
|
||||
```
|
||||
|
||||
### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)
|
||||
|
||||
---
|
||||
|
||||
## Available Scripts
|
||||
|
||||
In the project directory, you can run:
|
||||
|
||||
### `npm run dev`
|
||||
### `bun dev`
|
||||
|
||||
Runs the app in the development mode.
|
||||
|
||||
|
||||
|
||||
|
||||
Open [http://localhost:5173](https://www.google.com/search?q=http://localhost:5173) to view it in the browser.
|
||||
|
||||
### `bun run build`
|
||||
|
||||
Builds the app for production to the `dist` folder.
|
||||
|
||||
|
||||
Runs the app in the development mode.<br>
|
||||
Open [http://localhost:5173](http://localhost:5173) to view it in the browser.
|
||||
|
||||
### `npm run build`
|
||||
|
||||
Builds the app for production to the `dist` folder.<br>
|
||||
It correctly bundles Solid in production mode and optimizes the build for the best performance.
|
||||
|
||||
The build is minified and the filenames include the hashes.<br>
|
||||
The build is minified and the filenames include the hashes.
|
||||
|
||||
|
||||
|
||||
|
||||
Your app is ready to be deployed!
|
||||
|
||||
## Deployment
|
||||
|
||||
Learn more about deploying your application with the [documentations](https://vite.dev/guide/static-deploy.html)
|
||||
Learn more about deploying your application with the [Vite documentation](https://vite.dev/guide/static-deploy.html).
|
||||
|
||||
---
|
||||
|
||||
Would you like me to also generate a `bunfig.toml` file to help customize your Bun runtime settings for this project?
|
||||
Reference in New Issue
Block a user