These are chat archives for chandu0101/scalajs-react-components

20th
Jun 2017
Roberto Leibman
@rleibman
Jun 20 2017 18:41
@oyvindberg I've now been trying to get the images in the home screen to show up. Using the index.js as it was doing is not working. If I understand correctly, it's supposed to insert all the images as variables in the global scope (i.e. Window object). However, it just shows as "undefined". The images do show up if I replace the imagePath in AppRouter with an actual string, but I'm not sure that's what we want.
Roberto Leibman
@rleibman
Jun 20 2017 18:54
I kind of got it, but I don't like it either. If I add index-bundle.js to the index.html file then I get the images. But shouldn't that be added to the bundle along with everything else?
... beginning to think it's a webpack issue.
... not only that, it's the way it's currently done in the demo! So... I'll just put it back to the way it's supposed to be.
Roberto Leibman
@rleibman
Jun 20 2017 19:04
I'm mostly just ranting as I try things...
Roberto Leibman
@rleibman
Jun 20 2017 20:14
Mhhh, odd. I got the images to show up. But... the styles are not being applied.
Roberto Leibman
@rleibman
Jun 20 2017 21:23
On the MUI front, ontouchtap is not being injected, no clue why
√ėyvind Raddum Berg
@oyvindberg
Jun 20 2017 22:00
busy btw, answering tomorrow
Roberto Leibman
@rleibman
Jun 20 2017 22:00
No worries.
Roberto Leibman
@rleibman
Jun 20 2017 23:05
I've got the touch tap injection to work, though for some reason the ReactApp main gets called twice, so we get a runtime error that you can safely ignore.
At this point I'm fairly happy with the whole project, though I'd appreciate if you go through it and do whatever other cleanup you think it's necessary, I've touched the documentation a little bit as well. But I think we're close to being release-ready.