Quickstart
Use this pre-built prompt to get started faster with Nuxt.
Alternatively, follow these steps to manually add ExpressCSV to a Nuxt app and receive imports in a Nitro server route.
-
Install the SDK
-
Get your publishable key
You need a publishable key from the dashboard to connect the importer.
New accounts start with two environments: Production and Development. For this example, grab the key from your Development environment.
-
Create a client component for the importer
In Nuxt, keep the importer in a client-only component so it only runs in the browser:
-
Render the button from a page
-
Receive webhook deliveries in a Nitro route
Keep the schema in a shared or
serverpackage so both the frontend and the route can import it, then use@expresscsv/schemasto infer the webhook payload:Return a
2xxresponse for each chunk.5xxand429responses are retried automatically, while other4xxresponses are treated as permanent failures. -
Optional: disable preloading
By default, the widget preloads in a hidden iframe so it opens instantly. To show a loading screen instead:
What's Next
- Types - define field types, validation rules, and TypeScript types
- Styling - theme the widget to match your app
- Webhooks - delivery patterns and retry behavior
- API Reference - full constructor,
open(), and lifecycle reference