Split apart large applications and develop faster with microfrontends. This package contains library code to be used with Vercel's microfrontends support.
- Improved developer velocity: Build and test just the application that you are developing. Independent applications allow each team to choose their own technology stack.
- Incremental migrations: Gradually migrate systems to modern frameworks without rewriting everything at once.
See the full documentation and examples to learn more.
See the changelog for a list of changes.
Follow the quickstart documentation to get started.
You can use the frameworks and microfrontends frameworks of your choice. @vercel/microfrontends supports Next.js, SvelteKit, React Router, Vite, and React.
The local development proxy can preserve the origin used to reach it. Set it explicitly with microfrontends proxy --origin <origin> or MFE_LOCAL_PROXY_ORIGIN.
The origin must be an absolute http or https origin, such as https://myapp.localhost, with no path, query string, hash, username, or password. The proxy uses this origin anywhere it needs to preserve the URL clients used to reach the proxy.
Reach out for help in the Vercel Community.
