Browse Source

docs: update the usage of craco-less (#24701)

* docs: update use-with-create-react-app.zh-CN.md

* docs: update use-with-create-react-app.en-US.md
pull/24706/head
hehe 5 years ago
committed by GitHub
parent
commit
745c2182a5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/react/use-with-create-react-app.en-US.md
  2. 6
      docs/react/use-with-create-react-app.zh-CN.md

6
docs/react/use-with-create-react-app.en-US.md

@ -146,8 +146,10 @@ module.exports = {
plugin: CracoLessPlugin,
options: {
lessLoaderOptions: {
modifyVars: { '@primary-color': '#1DA57A' },
javascriptEnabled: true,
lessOptions: {
modifyVars: { '@primary-color': '#1DA57A' },
javascriptEnabled: true,
},
},
},
},

6
docs/react/use-with-create-react-app.zh-CN.md

@ -148,8 +148,10 @@ module.exports = {
plugin: CracoLessPlugin,
options: {
lessLoaderOptions: {
modifyVars: { '@primary-color': '#1DA57A' },
javascriptEnabled: true,
lessOptions: {
modifyVars: { '@primary-color': '#1DA57A' },
javascriptEnabled: true,
},
},
},
},

Loading…
Cancel
Save