diff --git a/docs/react/use-with-create-react-app.en-US.md b/docs/react/use-with-create-react-app.en-US.md index 11fad66fa8..6367f469c2 100644 --- a/docs/react/use-with-create-react-app.en-US.md +++ b/docs/react/use-with-create-react-app.en-US.md @@ -191,8 +191,10 @@ module.exports = override( + style: true, }), + addLessLoader({ -+ javascriptEnabled: true, -+ modifyVars: { '@primary-color': '#1DA57A' }, ++ lessOptions: { ++ javascriptEnabled: true, ++ modifyVars: { '@primary-color': '#1DA57A' }, ++ }, + }), ); ``` diff --git a/docs/react/use-with-create-react-app.zh-CN.md b/docs/react/use-with-create-react-app.zh-CN.md index 3b97bce8f5..a7fb004159 100644 --- a/docs/react/use-with-create-react-app.zh-CN.md +++ b/docs/react/use-with-create-react-app.zh-CN.md @@ -191,8 +191,10 @@ module.exports = override( + style: true, }), + addLessLoader({ -+ javascriptEnabled: true, -+ modifyVars: { '@primary-color': '#1DA57A' }, ++ lessOptions: { ++ javascriptEnabled: true, ++ modifyVars: { '@primary-color': '#1DA57A' }, ++ }, + }), ); ```