Support for the experimental syntax 'decorators-legacy' isn't currently enabled
通过create-react-app创建的react项目配置mobx的时候报的错误,笔者使用的是"mobx":"^5.15.0","mobx-react":"^6.1.4",一、装包npmicustomize-cra--savenpmireact-app-rewired--savenpmi@babel/plugin-proposal-decorators--save二、项目根目录新建config-