cljsjs

azeem 2017-04-17T00:50:00.538829Z

hey guys! i'm trying to use semantic-ui-react <https://github.com/cljsjs/packages/tree/master/semantic-ui-react> package in a project. I am able to use the components in a fresh live-reload setup as i add the require and create the components.. but when i refresh the page. i get an error saying Uncaught TypeError: Cannot read property 'Component' of undefined i've tracked it down to a file in semantic-ui where it seems to be referring to react Component class.. but not sure what's causing this in my clojurescript setup

azeem 2017-04-17T00:50:14.540282Z

anyone experienced similar issues?

souenzzo 2017-04-17T21:37:00.078417Z

Bump?

azeem 2017-04-17T23:01:03.610829Z

@souenzzo https://github.com/cljsjs/packages/wiki/Non-JS-Assets if you’re using less or sass you can import css from the jar file

souenzzo 2017-04-17T23:05:20.720110Z

I need to use sass or less? I Will not use any of these..

azeem 2017-04-17T23:10:25.849109Z

this is how i’m importing css from clsjsjs packages. not sure if there’s another way.. i guess you can write a boot task to fetch the file from classpath and write it out. clojurescript noob here. so not sure about the details

👍 1
souenzzo 2017-04-17T23:13:30.925656Z

I Will dig into boot. Tks