Skip to content

Commit 4ab37fd

Browse files
authored
docs: change npm and pnpm to be lowercase (#18342)
1 parent 4c5cf91 commit 4ab37fd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docs/guide/features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
At the very basic level, developing using Vite is not that different from using a static file server. However, Vite provides many enhancements over native ESM imports to support various features that are typically seen in bundler-based setups.
44

5-
## NPM Dependency Resolving and Pre-Bundling
5+
## npm Dependency Resolving and Pre-Bundling
66

77
Native ES imports do not support bare module imports like the following:
88

docs/guide/index.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ Vite requires [Node.js](https://nodejs.org/en/) version 18+ or 20+. However, som
4949

5050
::: code-group
5151

52-
```bash [NPM]
52+
```bash [npm]
5353
$ npm create vite@latest
5454
```
5555

5656
```bash [Yarn]
5757
$ yarn create vite
5858
```
5959

60-
```bash [PNPM]
60+
```bash [pnpm]
6161
$ pnpm create vite
6262
```
6363

@@ -73,7 +73,7 @@ You can also directly specify the project name and the template you want to use
7373

7474
::: code-group
7575

76-
```bash [NPM]
76+
```bash [npm]
7777
# npm 7+, extra double-dash is needed:
7878
$ npm create vite@latest my-vue-app -- --template vue
7979
```
@@ -82,7 +82,7 @@ $ npm create vite@latest my-vue-app -- --template vue
8282
$ yarn create vite my-vue-app --template vue
8383
```
8484

85-
```bash [PNPM]
85+
```bash [pnpm]
8686
$ pnpm create vite my-vue-app --template vue
8787
```
8888

@@ -118,15 +118,15 @@ In your project, you can install the `vite` CLI using:
118118

119119
::: code-group
120120

121-
```bash [NPM]
121+
```bash [npm]
122122
$ npm install -D vite
123123
```
124124

125125
```bash [Yarn]
126126
$ yarn add -D vite
127127
```
128128

129-
```bash [PNPM]
129+
```bash [pnpm]
130130
$ pnpm add -D vite
131131
```
132132

@@ -146,15 +146,15 @@ Then run the appropriate CLI command in your terminal:
146146

147147
::: code-group
148148

149-
```bash [NPM]
149+
```bash [npm]
150150
$ npx vite
151151
```
152152

153153
```bash [Yarn]
154154
$ yarn vite
155155
```
156156

157-
```bash [PNPM]
157+
```bash [pnpm]
158158
$ pnpm vite
159159
```
160160

0 commit comments

Comments
 (0)