You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/learn/building-a-react-framework.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ The first step is to install a build tool like `vite` or `parcel`. These build t
33
33
[Vite](https://vite.dev/) is a build tool that aims to provide a faster and leaner development experience for modern web projects.
34
34
35
35
<TerminalBlock>
36
-
npx vite@latest --template react
36
+
npm create vite@latest my-app -- --template react
37
37
</TerminalBlock>
38
38
39
39
Vite is opinionated and comes with sensible defaults out of the box. Vite has a rich ecosystem of plugins to support fast refresh, JSX, Babel/SWC, and other common features. See Vite's [React plugin](https://vite.dev/plugins/#vitejs-plugin-react) or [React SWC plugin](https://vite.dev/plugins/#vitejs-plugin-react-swc) and [React SSR example project](https://vite.dev/guide/ssr.html#example-projects) to get started.
0 commit comments