aviflombaum / shadcn-rails

https://shadcn.rails-components.com
MIT License
535 stars 33 forks source link

Missing dependency for drop down menu #69

Open ferrisoxide opened 2 months ago

ferrisoxide commented 2 months ago

Very minor, but after generating the drop down menu code the app reported an error message that hotkeys-js wasn't available (sorry, don't have the original error message).

Just adding the JS library via importmap fixed the issue, but it'd be great if the dependency could be documented. Fix:

bin/importmap pin hotkeys-js
LinnJS commented 1 month ago

Just ran into this error here is the original error message

image

@ferrisoxide thank you for posting the fix!

Minhnhat0408 commented 1 month ago

tks for the help alot. @ferrisoxide thanks for the fix and i also hope they fix it in the doc too.