Deployment

Since Onelink is a standard Nuxt 3 application, it can be deployed to any hosting provider that supports Node.js or static generation.

However, because the transformer.js logic runs purely on the client-side (URL decoding) for the /1 route, you generally build this as a universal app or client-side app.

Vercel / Netlify

No special configuration is strictly required beyond the defaults in nuxt.config.ts. The project includes a package.json with standard scripts.

  1. Connect your repository to Vercel or Netlify.
  2. Override build settings if necessary (usually detected automatically):
    • Build Command: npm run build
    • Output Directory: .output/public (for static) or dist depending on target.

URL Length Considerations

Because data is stored in the URL, the link can become quite long. It is recommended to use a link shortener (like Dub.co or Bit.ly) when sharing the generated Onelink URL with users.