mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Update use-with-create-react-app.zh-CN.md
This commit is contained in:
parent
915a64feae
commit
8c156afb39
@ -182,6 +182,7 @@ $ yarn add react-app-rewire-less --dev
|
||||
- config = injectBabelPlugin(['import', { libraryName: 'antd', style: 'css' }], config);
|
||||
+ config = injectBabelPlugin(['import', { libraryName: 'antd', style: true }], config);
|
||||
+ config = rewireLess.withLoaderOptions({
|
||||
+ javascriptEnabled: true,
|
||||
+ modifyVars: { "@primary-color": "#1DA57A" },
|
||||
+ })(config, env);
|
||||
return config;
|
||||
|
Loading…
Reference in New Issue
Block a user