Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 491 Bytes

README.md

File metadata and controls

16 lines (15 loc) · 491 Bytes

create-react-app

start project npm start or yarn start bulid project npm run build or yarn build

problem

use antd component 需要 updating scripts in package.json file,but 修改后会导致webpack.config中配置的alias别名无法使用,需要自己更改配置,不能按照官网的配置来 antd的配置

"scripts": {
    "start": "react-app-rewired start",
    "build": "react-app-rewired build",
    "test": "react-app-rewired test --env=jsdom"
  },