UNPKG

@vercel/microfrontends

Version:

Defines configuration and utilities for microfrontends development

33 lines (17 loc) 1.65 kB
![hero banner](./assets/mfe-package-banner-dark.png) # @vercel/microfrontends Split apart large applications and develop faster with microfrontends. This package contains library code to be used with Vercel's [microfrontends support](https://vercel.com/docs/microfrontends). - **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](https://vercel.com/docs/microfrontends) and [examples](https://vercel.com/templates/microfrontends) to learn more. ## Changelog See the [changelog](./packages/microfrontends/CHANGELOG.md) for a list of changes. ## Getting Started Follow the [quickstart](https://vercel.com/docs/microfrontends/quickstart) documentation to get started. ## Frameworks support You can use the frameworks and microfrontends frameworks of your choice. `@vercel/microfrontends` supports Next.js, SvelteKit, React Router, Vite, and React. ## Local proxy origin 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. ## Need help? Reach out for help in the [Vercel Community](https://community.vercel.com).