Part of #811
Goal
Migrate external app embeds and Vercel rewrites to the Next.js app.
Tasks
Notes
next.config.ts rewrites() is the direct equivalent of vercel.json rewrites
- Redirects can use
next.config.ts redirects() or middleware
- Iframe pages are simple — just need the component ported to a Next.js route
Part of #811
Goal
Migrate external app embeds and Vercel rewrites to the Next.js app.
Tasks
vercel.jsontonext.config.tsrewrites:/slides/*→ policyengine-slides/_tracker/*→ Modal state legislative tracker/us/api/*→ household-api-docs/us/watca/*→ Working Americans Tax Cut calculator/us/taxsim/*→ TaxSim calculator/plugin-blog/*→ GitHub Pages plugin blog/:countryId/ai-inequality→policyengine.github.io/ai-inequality/:countryId/2025-year-in-review→policyengine.github.io/2025-year-in-review/us/modelpage (policyengine-model iframe)/blog/*→/research/*)Notes
next.config.tsrewrites()is the direct equivalent ofvercel.jsonrewritesnext.config.tsredirects()or middleware