Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ Edit package.json

1. Initial rsw.toml

```bash
# With NPM
npm run rsw init
```

```bash
# yarn rsw -h
yarn rsw init
Expand All @@ -95,8 +100,13 @@ Edit package.json
# using: wasm-pack | rsw | user, default is `wasm-pack`
using = "wasm-pack"
```
```bash
# With NPM
npm run rsw new rsw-hello
```

```bash
# With Yarn
yarn rsw new rsw-hello
```

Expand All @@ -118,6 +128,12 @@ Edit package.json
Start dev server

```bash
# With NPM
npm run dev
```

```bash
# With Yarn
# rsw watch & vite
yarn dev
```
Expand All @@ -127,6 +143,12 @@ yarn dev
Deploy

```bash
# With NPM
npm run build
```

```bash
# With Yarn
yarn build
```

Expand Down