timothygachengo / mini-reactjs-setup-create-react-app-alternative

This is a react starter setup that is fast and easy. Could also be used for prod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mini-reactjs-setup-create-react-app-alternative

  • This is a minified version of create-react-app
  • It has the following advanatages:
    • Faster startup time.
    • Only has only what you need to satrt your react development.
    • Contains eslint to lint your code and prettier.

How to setup

  1. Clone the repo using git clone https://github.com/Timguru/mini-reactjs-setup-create-react-app-alternative.git
  2. Run npm install

Available Scripts

In the project's folder you can run the following commands

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

npm run build

Builds the app for production to the build folder.
It needs some more configuration in the webpack.config.js to be able to run 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!

About

This is a react starter setup that is fast and easy. Could also be used for prod


Languages

Language:JavaScript 69.7%Language:HTML 15.3%Language:CSS 15.0%