Split a ui-framework skill out

This commit is contained in:
Claudio Ortolina
2026-03-01 15:54:50 +00:00
parent 980c5fd547
commit ccb028a13e
9 changed files with 2895 additions and 734 deletions
@@ -0,0 +1,15 @@
## Phoenix guidelines
- Remember Phoenix router `scope` blocks include an optional alias which is prefixed for all routes within the scope. **Always** be mindful of this when creating routes within a scope to avoid duplicate module prefixes.
- You **never** need to create your own `alias` for route definitions! The `scope` provides the alias, ie:
scope "/admin", AppWeb.Admin do
pipe_through :browser
live "/users", UserLive, :index
end
the UserLive route would point to the `AppWeb.Admin.UserLive` module
- `Phoenix.View` no longer is needed or included with Phoenix, don't use it