-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Devcards 0.2.6 doesn't work with shadow-cljs #156
Comments
devcards use cljsjs dependencies, however file: cljsjs/marked.cljs (ns cljsjs.marked
(:require ["marked" :as marked]))
(js/goog.exportSymbol "marked" marked) And install the This project includes plenty of shim files, but not include the one for |
Here's an example of shadow-cljs with devcards: https://github.com/filipesilva/shadow-cljs-devcards |
👍 @DogLooksGood worked for me. For any others who read this, I still needed to add another shim file for React. Thanks for the example @filipesilva. I didn't use it, but how did you manage to get this to work without shim files? I see you did download |
- requires shims (marked and create-react-class) - and bhauman/devcards#156 - see https://shadow-cljs.github.io/docs/UsersGuide.html#cljsjs closes #6
@tangjeff0 |
@filipesilva : thanks for this, I couldn't find this information anywhere else! I was getting |
The required namespace "cljsjs.marked" is not available, it was required by "devcards/util/markdown.cljs".
The namespace was provided via :foreign-libs which is not supported.
Please refer to https://shadow-cljs.github.io/docs/UsersGuide.html#cljsjs fo more information.
The text was updated successfully, but these errors were encountered: