From e54f2fa87347f6e2c41c8e8ad9679f8cfbdd2807 Mon Sep 17 00:00:00 2001 From: Natan Lao Date: Thu, 14 Oct 2021 12:10:30 -0700 Subject: [PATCH] docs(theming) list semantic-ui-less in dependencies With current documentation, compile will fail: ``` Failed to compile. src/index.tsx Line 6:1: 'semantic-ui-less' should be listed in the project's dependencies, not devDependencies import/no-extraneous-dependencies ``` --- docs/src/pages/Theming.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/src/pages/Theming.mdx b/docs/src/pages/Theming.mdx index 2b270ff86c..193c2776a4 100644 --- a/docs/src/pages/Theming.mdx +++ b/docs/src/pages/Theming.mdx @@ -83,11 +83,13 @@ yarn remove semantic-ui semantic-ui-css Create React App does not support LESS out of the box; we propose to use [`@craco/craco`](https://www.npmjs.com/package/@craco/craco) to add its support and avoid `eject`. You have to install required packages: ```bash -npm install @craco/craco @semantic-ui-react/craco-less semantic-ui-less --save-dev +npm install @craco/craco @semantic-ui-react/craco-less --save-dev +npm install semantic-ui-less --save ``` ```bash -yarn add @craco/craco @semantic-ui-react/craco-less semantic-ui-less --dev +yarn add @craco/craco @semantic-ui-react/craco-less --dev +yarn add semantic-ui-less ``` And then update your `package.json` and create `craco.config.js`: