You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bit of a small request, but something I noticed when using mix salad.add the other day
Right now it looks like when we generate new components--for example mix salad.add card--it generates a component in in lib/app_web/components/... (note the plurality of components). However, the module itself that's generated has Component in its module definition.
defmodule AppWeb.Component.Card do
...
end
Should we align the plurality so that it generates AppWeb.Components.Card instead of AppWeb.Component.Card in order to match the directory structure lib/app_web/components/...?
The text was updated successfully, but these errors were encountered:
A bit of a small request, but something I noticed when using
mix salad.add
the other dayRight now it looks like when we generate new components--for example
mix salad.add card
--it generates a component in inlib/app_web/components/...
(note the plurality of components). However, the module itself that's generated hasComponent
in its module definition.Should we align the plurality so that it generates
AppWeb.Components.Card
instead ofAppWeb.Component.Card
in order to match the directory structurelib/app_web/components/...
?The text was updated successfully, but these errors were encountered: