Local playground with two independent Vue/Vite apps routed by Vercel's microfrontends proxy.
shellruns on port3100and owns/.analyticsruns on port3101and owns/analytics.- The Vercel microfrontends proxy runs on port
3124.
pnpm install
pnpm devOpen http://localhost:3124 and use the nav links to move between apps through the proxy. /analytics redirects to /analytics/ so Vite serves the analytics app with the right asset base.
You can also run the pieces separately:
pnpm --filter shell dev
pnpm --filter analytics dev
pnpm proxyThe local proxy reads microfrontends.json and routes each path to the matching local application. In production, Vercel uses that same configuration to route requests between independently deployed apps.