Hacker News new | ask | show | jobs
by espresso_enigma 3353 days ago
I'm trying that out, and it seems that jquery is installed when you include the Semantic UI CSS. According to the docs: http://react.semantic-ui.com/usage, you need to install the CSS separately with

  $ npm install semantic-ui-css --save
and with that I get

  ├─┬ semantic-ui-css@2.2.10
  │   └── jquery@3.2.1
Plus a whitescreen because jQuery is not defined...bummer
1 comments

Sorted it, thanks to this: https://github.com/Semantic-Org/Semantic-UI-React/issues/114...

  import 'semantic-ui-css';
should have been

  import 'semantic-ui-css/semantic.min.css';
Documentation of how to actually import and use the CSS would be nice...might be obvious to the creators, but not to hardheads like myself.