Skip to content

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 ​

  1. Create modularous/auth_pages.php in your app (or merge into config/modularous.php).
  2. Add attributes for banner content, redirect buttons, etc.
  3. Optionally use a custom auth component: publish Auth.vue and set component_name to ue-custom-auth.

Documentation ​