Closed sergitejada closed 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
<%= render "components/ui/shared/backdrop", as: "modal" %>
Solution: try to import the backdrop view when import dialog
Thanks - going to fix this now.
Closed by 80e7bd3
You can copy the backdrop file by the way out of the source app.
https://github.com/aviflombaum/shadcn-rails/blob/main/app/views/components/ui/shared/_backdrop.html.erb
When i install a Dialog, dialog have a
<%= render "components/ui/shared/backdrop", as: "modal" %>
but the generator can import this and cause a errorSolution: try to import the backdrop view when import dialog