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

fix: pnpm create-vite command documentation #4902

Merged
merged 2 commits into from
Sep 12, 2021
Merged
Show file tree
Hide file tree
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
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