Skip to content

Commit 91ab264

Browse files
authored
docs(create-app): add pnpm commands (#3433)
1 parent 4ab996b commit 91ab264

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/create-app/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ With Yarn:
1717
$ yarn create @vitejs/app
1818
```
1919

20+
With PNPM:
21+
22+
```bash
23+
$ pnpx @vitejs/create-app
24+
```
25+
2026
Then follow the prompts!
2127

2228
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:
@@ -30,6 +36,9 @@ npm init @vitejs/app my-vue-app -- --template vue
3036

3137
# yarn
3238
yarn create @vitejs/app my-vue-app --template vue
39+
40+
# pnpm
41+
pnpx @vitejs/create-app my-vue-app --template vue
3342
```
3443

3544
Currently supported template presets include:

0 commit comments

Comments
 (0)