simplesoft-duongdt3 / my-react-js-project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

my-react-js-project

Recommended Toolchains

The React team primarily recommends these solutions:

If you’re learning React or creating a new single-page app, use Create React App.

+ Create ReactJs app
npx create-react-app my-reactjs-app
+ Run for develop
cd my-reactjs-app
npm start 
+ Production build
npm run build
# install static server
# npm install -g serve
serve -s build

Dockerize Production React.js

docker-compose up
Access by
http://localhost:6969

If you're finding modern toolset for create reactjs project, Use Vite - https://vitejs.dev/ (Next Generation Frontend Tooling - Get ready for a development environment that can finally catch up with you.)

If you’re building a server-rendered website with Node.js, try Next.js.

If you’re building a static content-oriented website, try Gatsby.

If you’re building a component library or integrating with an existing codebase, try More Flexible Toolchains.

About

License:MIT License


Languages

Language:JavaScript 40.8%Language:HTML 36.3%Language:CSS 19.6%Language:Dockerfile 3.3%