node.js – How to install and use semantic-ui-react

node.js – How to install and use semantic-ui-react

First – install css npm install semantic-ui-css --save
Then – import in at the index.js page (the very top level)
import semantic-ui-css/semantic.min.css;

First, use one of below package managers to install semantic UI react package.

For npm users:

npm install semantic-ui-react

For yarn users:

yarn add semantic-ui-react

Then add this import line to your index.js

import semantic-ui-css/semantic.min.css

Thats all.

See my blog post, it has a step by step guide:
http://videotutorialspot.com/2019/01/08/semantic-ui-for-react-install-and-getting-started/

node.js – How to install and use semantic-ui-react

For npm user:

npm i semantic-ui-react semantic-ui-css

Leave a Reply

Your email address will not be published.