Skip to main content
Use the importer with a Vercel token to bring over the repo, commands, and decrypted environment variables (Production, Preview, Development).

Concepts

vercel.json

Pxxl reads these keys from vercel.json when pxxl.toml has no routing: rewrites, redirects, headers, cleanUrls, and has/missing conditions. A catch-all rewrite to /index.html becomes SPA mode. Not read: routes (the legacy format), builds, functions, crons, regions, and build settings. Don’t define routing in both files.

The same config in pxxl.toml

vercel.json
pxxl.toml
permanent: true becomes status = 308; false becomes 307.

api/ functions

Keep your api/ folder. @vercel/node handlers and Web Request/Response handlers both work. Add:
Functions are for static frontends (Vite, React, plain HTML). A Next.js app runs as a web service instead, so its API routes keep working with no changes.

Next.js

Pxxl runs Next.js as a web service with next start. Check that your start script binds to $PORT:
package.json

Checklist

  • Import the project or connect the repo.
  • Add any env vars the import couldn’t read.
  • Add [functions] if you use api/ with a static frontend.
  • Recreate Vercel cron jobs in Cron Jobs.
  • Move microfrontends.json to a [microfrontends] section if you use microfrontends.
  • Test the Pxxl URL, then move your domain.