What problem does it solve?
This Skill sets up a micro-frontend architecture, allowing you to compose independent micro-apps within a main application. It streamlines the process of creating a Main App that hosts micro-apps via iframes, ensuring shared authentication, session management, and backend communication.
Core Features & Use Cases
- Micro-Frontend Setup: Automates the process of setting up a micro-frontend architecture using client-side iframe composition.
- Shared Authentication: Ensures all micro-apps share a single authentication instance (Supabase session cookies).
- URL Syncing: Allows for browser URL syncing via postMessage for seamless navigation and state management.
- Shared DaaS Backend: Facilitates communication with a single DaaS backend for data storage and retrieval.
- Isolated Rendering: Ensures each micro-app renders independently within its iframe sandbox.
- Use Case: Ideal for creating a scalable and modular web application where different teams can develop and deploy independent features.
Quick Start
Use the add-microfrontend skill with the command: add-microfrontend [microapp name] [host route, e.g. /admin/dashboard]