Xavek / react-setup-scratch

Complete react setup from scratch with dev-server and hot module replacement

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Complete React Setup from Scratch same as create-react-app

devDependencies

  • Webpack: To bundle all JavaScript, CSS, Image files.

    1. npm run dev: starts the dev environment at localhost:3000
    2. npm run prod: bundles all files and creates serve ready files at dist/
  • Babel: Transpile all ES6 syntax and modules to Browser compatible JavaScript code.

  • Webpack-dev-server: To run the local dev environment(localhost)

  • HTMLWebpackPlugin: Used for Hot Module replacement. When files are changed instantly changes are seen (localhost)

  • React and react-dom

About

Complete react setup from scratch with dev-server and hot module replacement


Languages

Language:JavaScript 75.5%Language:HTML 24.5%