const { injectBabelPlugin } = require('react-app-rewired');module.exports = function override(config, env) {config = injectBabelPlugin(['import', { libraryName: 'antd-mobile', style: 'css' }], config);return config;};我按照官网的步骤来的,但是控制台报错yarn run v1.7.0$ react-app-rewired startinjectBabelPlugin is not a functionerrorinfo Visit Command failed with exit code 1.https://yarnpkg.com/en/docs/c... for documentation about this command.Process finished with exit code 1
添加回答
举报
0/150
提交
取消