Skip to content

Commit

Permalink
fix: pnpm create-vite command documentation (#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 committed Sep 12, 2021
1 parent ce29273 commit 3392a8a
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
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
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
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
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 3392a8a

Please sign in to comment.