using bun not npm...

This commit is contained in:
genki_angel 2025-09-23 00:58:18 +01:00
parent ff2ab54f64
commit a049027c3f

View file

@ -8,21 +8,21 @@ If you're seeing this, you've probably already done this step. Congrats!
```sh ```sh
# create a new project in the current directory # create a new project in the current directory
npx sv create bun sv create
# create a new project in my-app # create a new project in my-app
npx sv create my-app bun sv create my-app
``` ```
## Developing ## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: Once you've created a project and installed dependencies with `bun install` , start a development server:
```sh ```sh
npm run dev bun run dev
# or start the server and open the app in a new browser tab # or start the server and open the app in a new browser tab
npm run dev -- --open bun run dev -- --open
``` ```
## Building ## Building
@ -30,9 +30,9 @@ npm run dev -- --open
To create a production version of your app: To create a production version of your app:
```sh ```sh
npm run build bun run build
``` ```
You can preview the production build with `npm run preview`. You can preview the production build with `bun run preview`.
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment. > To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.