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. 2
      docs/react/use-with-create-react-app.en-US.md
  2. 2
      docs/react/use-with-create-react-app.zh-CN.md

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

@ -146,11 +146,13 @@ module.exports = {
plugin: CracoLessPlugin,
options: {
lessLoaderOptions: {
lessOptions: {
modifyVars: { '@primary-color': '#1DA57A' },
javascriptEnabled: true,
},
},
},
},
],
};
```

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

@ -148,11 +148,13 @@ module.exports = {
plugin: CracoLessPlugin,
options: {
lessLoaderOptions: {
lessOptions: {
modifyVars: { '@primary-color': '#1DA57A' },
javascriptEnabled: true,
},
},
},
},
],
};
```

Loading…
Cancel
Save