Skip to content

boqiaok/react-template

Repository files navigation

About react template

  • React 16
  • React Router v4
  • Webpack v4
  • Mobx
  • scss/css
  • eslint, lint-staged, husky
  • style-loader, sass-loader, css-loader, svg-loader, react-hot-loader4

Installation

npm install

Running dev

npm run dev

Build

npm run build

Analysis

npm run report

docker

docker build -t your-app-name . docker run --rm -d -p 80:80 your-app-name docker ps -a http://0.0.0.0/

@boqiaok