Re:Semantic UI
by espresso_enigma on Tuesday April 11, 2017 @04:03PM
(#14091902)
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
and with that I get
Plus a whitescreen because jQuery is not defined...bummer
[ Parent
| on HN ]
Re:Semantic UI
by espresso_enigma on Tuesday April 11, 2017 @04:18PM
(#14092048)
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.