Skip to content

Commit aeb64b7

Browse files
Update part1a.md
Add separate npm create vite commands for npm 6 and npm 7
1 parent 2fa0098 commit aeb64b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/content/1/en/part1a.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ The easiest way to get started by far is by using a tool called
1515
Let's create an application called <i>part1</i>, navigate to its directory and install the libraries:
1616

1717
```bash
18+
# npm 6.x
1819
npm create vite@latest part1 --template react
20+
21+
# npm 7+, extra double-dash is needed:
22+
npm create vite@latest part1 -- --template react```
23+
24+
```bash
1925
cd part1
2026
npm install
2127
```

0 commit comments

Comments
 (0)