docs: update readme for pnpm

This commit is contained in:
Alexander Daichendt 2024-06-11 20:32:43 +02:00
parent 03fa177095
commit 81b9ae8a98

View file

@ -6,13 +6,13 @@ Powered by Svelte & SvelteKit
## Developing ## Developing
Once you've created a project and installed dependencies with `yarn install`, start a development server: Once you've created a project and installed dependencies with `pnpm install`, start a development server:
```bash ```bash
yarn dev pnpm 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
yarn dev -- --open pnpm dev -- --open
``` ```
## Building ## Building
@ -20,7 +20,7 @@ yarn dev -- --open
To create a production version of your app: To create a production version of your app:
```bash ```bash
yarn build pnpm build
``` ```
You can preview the production build with `npm run preview`. You can preview the production build with `pnpm run preview`.