摘要: npm install --save-dev babel-plugin-transform-decorators-legacy 然后在node_modules/babel-preset-react-app/create.js plugins中添加 require.resolve('babel-plugin-transform-decorators-legacy') babel 为7.... 阅读全文
posted @ 2018-08-15 08:38 winyh 阅读(1407) 评论(0) 推荐(0) 编辑