Support for Nuxt and other frameworks · triggerdotdev/trigger.dev · Discussion #411
Thanks for the idea! This is a good opportunity to initially document everything it would take to "properly" support another JS framework, in no particular order:
- Create an "adapter" package that exposes a
TriggerClienton the server at/api/triggeror similar path. Next.js adapter - If not a React framework, create an equivalent of the
@trigger.dev/reactpackage (reference) that makes it easy to get public info about jobs/runs/tasks from the frontend - Add to the
@trigger.dev/cli initcommand to automatically detect framework and bootstrap it with Trigger.dev code- If this is the first framework after Next.js, we'll need to modify the
initcommand code to support multiple framework detection
- If this is the first framework after Next.js, we'll need to modify the
- Add a "Quick Start" guide for the framework to the docs Next.js Quick Start
- Add a Platform guide for the framework to the docs Next.js Platform Guide
- Add the framework to the dashboard onboarding tutorial
- If this is the first framework after Next.js, we'll need to update the onboarding tutorial to support multiple frameworks
- Add an example project to the examples repo ref