Part 1 a Introduction to React - command "npm create vite@latest part1 -- --template react" inputs
ivaeisaenen opened this issue · comments
Command npm create vite@latest part1 -- --template react
(npm version 6.14.15) will result in question Select a Framework:
-Vanilla
-Vue
-React
-Preact
-Lit
-Svelte
-Solid
-Qwik
-Others
And when selected React
it will ask Select a variant:
-TypeScript
-TypeScrpt + SWC
-JavaScript
-JavaScript + SWC
Please add instruction note that there might be some selection and correct option
hmm, in which operating system you are running the command? works in mac and linux
With npm 6 or earlier the command differs a bit, see https://vitejs.dev/guide/#scaffolding-your-first-vite-project
Hey, it's been updated and fixed on the site, you can check now.
for finding out your npm version you can try running npm --version
in your terminal.