Create React apps with no build configuration.
Create React App works on macOS, Windows, and Linux.
If something doesn’t work, please file an issue.
npm i
npm start
Then open http://localhost:8080/ to see your app.
When you’re ready to deploy to production, create a minified bundle with npm run build
.
This project has already setup webpack, webpack-dev-server, react, babel-loader, css-loader and style loader for you. For detail of each package version, please see package.json.
light
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── .babelrc
├── .package-lock.json
├── .package.json
├── .webpack.config.js
├── dist
│ ├── index.html
│ └── main.js
└── src
├── index.html
├── index.js
├── search.css
└── Search.js
No configuration or complicated folder structures, just the files you need to build your app.
Once the installation is done, you can open your project folder:
cd my-app
Inside the newly created project, you can run some built-in commands:
Runs the app in development mode.
Open http://localhost:8080 to view it in the browser.
Builds the app for production to the dist
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed.
ISC