/webpack-react-setup

Setting a react application from scratch without using CLI

Primary LanguageJavaScriptMIT LicenseMIT

N|Solid

webpack react starter project

Build Status

This project is a complete React project, built without using our favourite Create-React-App CLI. All the files and folder have been manually setup to understand under the hood behaviour of webpack. All the webpack related information has also been explained in this blog, check it out!

To use this project, follow the below mentioned simple steps.

  • Start by Forking the Repo
  • Clone it locally
  • Install all dependency

Available Scripts

npm install

This will install latest set of packages which the overall project depends on.

npm start

Runs the app in the development mode.

The page will reload if you make edits. If there are any lint errors, they would be printed in the command line as well as the browser consoole while you are in developmet mode

npm build

Last but not the least, this command will, build the app for production to the dist folder. It correctly bundles React in production mode and optimizes the build for the best performance.

Contributions

While using the project if you feel somethings not right or if there is a scope to improve, feel free to create your own branch, do the changes and rasie a pull request. If you have any other question please get in touch with me using my social links mentioned in my profile.