Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a new React project without using additional frameworks?

I would like to create a simple React app with typescript, but the official documentation about creating a new project guides me towards other 3rd party frameworks like Next.js and Remix. How to start a project without those?

like image 644
Iter Ator Avatar asked May 20 '26 20:05

Iter Ator


1 Answers

Create a project my-app using create react app:

npx create-react-app my-app --template typescript
cd my-app

Start the development server:

npm start

Bundle the app into static files for production:

npm run build
like image 152
Iter Ator Avatar answered May 22 '26 19:05

Iter Ator



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!