Skip to content

Commit

Permalink
fix: pnpm create-vite command documentation (vitejs#4902)
Browse files Browse the repository at this point in the history
* Fixed pnpm create-vite command documentation

pnpx is deprecated: https://pnpm.io/pnpx-cli

* Replaced other pnpx entries
  • Loading branch information
tropicalraisel authored and aleclarson committed Nov 8, 2021
1 parent f94bf67 commit 0b6d54f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $ yarn create vite
With PNPM:

```bash
$ pnpx create-vite
$ pnpm dlx create-vite
```

Then follow the prompts!
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { yellow, green } = require('kolorist')

const alternativeCommands = {
yarn: 'yarn create vite',
pnpm: 'pnpx create-vite',
pnpm: 'pnpm dlx create-vite',
npm: 'npm init vite',
unknown: 'npm init vite'
}
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ $ yarn create vite
With PNPM:

```bash
$ pnpx create-vite
$ pnpm dlx create-vite
```


Expand Down
4 changes: 2 additions & 2 deletions packages/create-vite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ yarn create vite
With PNPM:

```bash
$ pnpx create-vite
$ pnpm dlx create-vite
```

Then follow the prompts!
Expand All @@ -38,7 +38,7 @@ npm init vite@latest my-vue-app -- --template vue
yarn create vite my-vue-app --template vue

# pnpm
pnpx create-vite my-vue-app --template vue
pnpm dlx create-vite my-vue-app --template vue
```

Currently supported template presets include:
Expand Down

0 comments on commit 0b6d54f

Please sign in to comment.