Skip to content

Commit

Permalink
docs(create-app): add pnpm commands (#3433)
Browse files Browse the repository at this point in the history
  • Loading branch information
milahu committed May 15, 2021
1 parent 4ab996b commit 91ab264
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/create-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ With Yarn:
$ yarn create @vitejs/app
```

With PNPM:

```bash
$ pnpx @vitejs/create-app
```

Then follow the prompts!

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Vue project, run:
Expand All @@ -30,6 +36,9 @@ npm init @vitejs/app my-vue-app -- --template vue

# yarn
yarn create @vitejs/app my-vue-app --template vue

# pnpm
pnpx @vitejs/create-app my-vue-app --template vue
```

Currently supported template presets include:
Expand Down

0 comments on commit 91ab264

Please sign in to comment.