安装craco
yarn add @craco/craco
替换package.json
...
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test",
"eject": "react
安装craco
yarn add @craco/craco
替换package.json
...
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test",
"eject": "react