-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Can't install in Rails using Rails importmap #159
Comments
I don't have a great answer for you other than to downgrade to unfortunately the decision to always vendor broke a number of packages. There is a fully bundled version here: https://unpkg.com/browse/rhino-editor@0.9.1/cdn/exports/index.js you could try. I think it would be something like:
|
Thanks for the help. Before opening this issue I tried using unpkg (with For now, downgrading to version 1 of |
@cmoel did you run into this error in the browser console? I downgraded importmaps-rails to v1 so I could run
My
Thanks for opening this issue -- helped get me unstuck with the first bit! |
@moneill importmaps don't support importing CSS. you'll need to add a
|
I added some docs here: https://rhino-editor.vercel.app/tutorials/getting-started/#manual-importmaps-installation |
I'm trying to add Rhino Editor to a Rails 7.1 app using
importmap-rails
v2.0.1. After runningbin/importmap pin rhino-editor
, I see the following error when pinninglit-html/
:Curling the 404ing URL confirms that there's a 404:
Installing
lit
by itself works fine:I'm not sure what the next troubleshooting step would be. Can you provide some guidance?
The text was updated successfully, but these errors were encountered: