aviflombaum / shadcn-rails

https://shadcn.rails-components.com
MIT License
470 stars 32 forks source link

Dialog miss a render and can't i use #35

Closed sergitejada closed 10 months ago

sergitejada commented 10 months ago

When i install a Dialog, dialog have a <%= render "components/ui/shared/backdrop", as: "modal" %> but the generator can import this and cause a error

Solution: try to import the backdrop view when import dialog

aviflombaum commented 10 months ago

Thanks - going to fix this now.

aviflombaum commented 10 months ago

Closed by 80e7bd3

aviflombaum commented 10 months ago

You can copy the backdrop file by the way out of the source app.

aviflombaum commented 10 months ago

https://github.com/aviflombaum/shadcn-rails/blob/main/app/views/components/ui/shared/_backdrop.html.erb