Custom Auth Pages ​
Modularous provides a flexible authentication system that you can fully customize without modifying package code. All auth pages (login, register, forgot password, etc.) are driven by configuration files.
Overview ​
- Package Auth (UeAuth): Minimal, slot-based default component. No banner or app-specific content.
- Custom Auth (UeCustomAuth): Your app-specific design. Add banner text, redirect buttons, split layouts, and any custom props.
- Attribute flow: All attributes from config are passed to the auth component via
v-bind. Custom components receive whatever you define.
Quick Start ​
- Create
modularous/auth_pages.phpin your app (or merge intoconfig/modularous.php). - Add
attributesfor banner content, redirect buttons, etc. - Optionally use a custom auth component: publish
Auth.vueand setcomponent_nametoue-custom-auth.
Documentation ​
- Overview & Architecture — Package vs custom auth, attribute flow
- Configuration — auth_pages and auth_component config structure
- Attributes & Custom Props — Passing custom attributes to auth components
- Custom Auth Component — Creating and using a custom Auth.vue
- Layout Presets — banner, minimal, and structural options
- Page Definitions — Per-page overrides (formDraft, formSlotsPreset, etc.)