Skip to main content
Use the importer with a Netlify personal access token. It brings over the repo, build command, and readable build environment variables.
Pxxl doesn’t read netlify.toml, _redirects, or _headers. Move those rules to pxxl.toml as shown below.

Concepts

netlify.toml to pxxl.toml

netlify.toml
pxxl.toml
The mapping:
  • A Netlify redirect with status = 200 is a rewrite on Pxxl.
  • /* with :splat becomes /:path* with :path*.
  • The /* /index.html 200 fallback becomes [routing] spa = true.

Netlify Functions

Netlify handlers use exports.handler = async (event) => ({ statusCode, body }). Pxxl functions use Vercel-style (req, res) or Web Request/Response. Move each file into api/ and rewrite the wrapper:
api/hello.ts
Then enable them with [functions] enabled = true. Calls to /.netlify/functions/hello should change to /api/hello.

Checklist

  • Import the site or connect the repo.
  • Write pxxl.toml from netlify.toml, _redirects, and _headers.
  • Port functions to api/.
  • Test the Pxxl URL, then move your domain.