Support for the experimental syntax ‘decorators-legacy‘ isn‘t currently enabled (52:1)
在react中写装饰器的报的错,解决办法1先安装npminstallcustomize-crareact-app-rewired@babel/plugin-proposal-decorators--save2在项目的根目录下新建config-overrides.js文件加入以下代码const{override,addDecoratorsLegacy}=require('customize-cra'