Skip to content

Commit bf493d4

Browse files
committed
docs: add quick setup section for Vite in start-a-new-react-project.md
1 parent 5e3e400 commit bf493d4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/content/learn/start-a-new-react-project.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ If you want to build a new app or a new website fully with React, we recommend p
88

99
</Intro>
1010

11-
1211
You can use React without a framework, however we’ve found that most apps and sites eventually build solutions to common problems such as code-splitting, routing, data fetching, and generating HTML. These problems are common to all UI libraries, not just React.
1312

1413
By starting with a framework, you can get started with React quickly, and avoid essentially building your own framework later.
@@ -31,6 +30,16 @@ If your app has unusual constraints not served well by these frameworks, or you
3130

3231
</DeepDive>
3332

33+
## Quick Setup {/*quick-setup*/}
34+
35+
### Vite {/*vite*/}
36+
37+
**[Vite](https://vite.dev/) is a build tool that aims to provide a faster and leaner development experience for modern web projects.** It's opinionated and comes with sensible defaults out of the box. To create a new Vite project, run in your terminal:
38+
39+
<TerminalBlock>
40+
npx create-vite@latest
41+
</TerminalBlock>
42+
3443
## Production-grade React frameworks {/*production-grade-react-frameworks*/}
3544

3645
These frameworks support all the features you need to deploy and scale your app in production and are working towards supporting our [full-stack architecture vision](#which-features-make-up-the-react-teams-full-stack-architecture-vision). All of the frameworks we recommend are open source with active communities for support, and can be deployed to your own server or a hosting provider. If you’re a framework author interested in being included on this list, [please let us know](https://github.com/reactjs/react.dev/issues/new?assignees=&labels=type%3A+framework&projects=&template=3-framework.yml&title=%5BFramework%5D%3A+).

0 commit comments

Comments
 (0)