Open martinklepsch opened 8 years ago
I'm voting this up big time.
Actually the deps.cljs
file would be super helpful here... a popup or reveal of a pprinted deps.cljs
would be tremendously helpful... I find myself looking in the jar files for this info...
First version of deps.cljs on site is online. I'll tune styles later and perhaps reimplement the site using different tooling. I think it might be the time to move from Bash script to Boot task to build the site :D
Further idea: Show (or link) the extern file.
This is awesome that you are working on this... I don't see the new site though..
Oh I see the code but the the "deps" tag is empty.
Heh, the code didn't work on my server so automated build removed the contents.
@bhauman what exactly are you looking for when you say contents of deps.cljs
file?
@bhauman I pushed a new version: http://cljsjs.github.io/ — please let me know if you think it could be improved in any way.
Looks absolutely great!
If you have time...
Under "Show Usage Instructions" Step "2" I would add some actual example require code like (ns example.core (:require ... [cljsjs.react.dom] ... ))
The reason I'm suggesting this is that most new people are probably going to try and require [cljsjs/react-dom] instead of cljsjs.react.dom and unfortunately there is no rule to translate project/library name to the require namespace.
So making it absolutely explicit with a code example will probably be very helpful for folks. This reduces the ambiguity of the word "require" with a concrete example of what is meant.
Also the initial instructions at the top of the page could provide lein/boot code examples that slide open when you click on lein example
or boot example
One more thing: under "Show Usage Instructions" in step "3" I would make the Project Site a link.
These are just suggestions. I really like the new instructions a lot!!
Thanks for taking the time to do this!!
Full ns example now included.
There are a few formatting cleanups that could be done for mobile with the new site :) looks great tho!
@flyboarder please don't leave us hanging with this and and leave issues with screenshots :)
https://twitter.com/logaan/status/669511930734755840