Update readme

This commit is contained in:
Lachlan Collins
2023-07-05 03:13:34 +10:00
parent f5b60196ff
commit 83e5fcd51a

View File

@@ -1,4 +1,4 @@
# Svelte Society 2021 Website # Svelte Society Website
Using SvelteKit! Using SvelteKit!
@@ -7,11 +7,11 @@ Using SvelteKit!
In order to start a development server: In order to start a development server:
```bash ```bash
npm install pnpm install
npm run dev pnpm 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 pnpm run start
``` ```
## Building ## Building
@@ -19,7 +19,7 @@ npm run dev -- --open
Before creating a production version of your app, install an [adapter](https://kit.svelte.dev/docs#adapters) for your target environment. Then: Before creating a production version of your app, install an [adapter](https://kit.svelte.dev/docs#adapters) for your target environment. Then:
```bash ```bash
npm run build pnpm run build
``` ```
> You can preview the built app with `npm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production. > You can preview the built app with `pnpm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.