惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
D
Docker
腾讯CDC
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
博客园 - Franky
博客园 - 三生石上(FineUI控件)
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
IT之家
IT之家
WordPress大学
WordPress大学
M
MIT News - Artificial intelligence
爱范儿
爱范儿
Microsoft Azure Blog
Microsoft Azure Blog
Vercel News
Vercel News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
N
Netflix TechBlog - Medium
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
博客园 - 【当耐特】

Workflow SDK Documentation

Patterns for Defining Tools Human-in-the-Loop Building Durable AI Agents Queueing User Messages Resumable Streams Sleep, Suspense, and Scheduling Streaming Updates from Tools API Reference Workflow Globals Changelog Resilient run start Cookbook Building a World Deploying Astro Express Fastify Hono Getting Started NestJS Next.js Nitro Nuxt Python SvelteKit Vite corrupted-event-log fetch-in-workflow hook-conflict Errors
workflow/nuxt
2026-06-12 · via Workflow SDK Documentation

Nuxt module for automatic workflow bundling and runtime configuration.

Nuxt integration for Workflow SDK. The workflow/nuxt entry point's default export is a Nuxt module — it has no callable API. You enable it by adding it to the modules array of your Nuxt config and configure it via the workflow key.

import { defineNuxtConfig } from "nuxt/config";

export default defineNuxtConfig({
  modules: ["workflow/nuxt"], 
  compatibilityDate: "latest",
});

When enabled, the module:

  • Registers the workflow/nitro module on Nuxt's Nitro server, which transforms "use workflow" and "use step" directives, builds the workflow bundles, and registers the workflow runtime routes under /.well-known/workflow/v1/.
  • Configures Vite to bundle (rather than externalize) the Workflow SDK packages in SSR mode so workflow code is transformed correctly.
  • Enables the workflow TypeScript plugin by default for IDE IntelliSense.

Options are read from the workflow key of your Nuxt config. The option type is exported as ModuleOptions:

import { defineNuxtConfig } from "nuxt/config";

export default defineNuxtConfig({
  modules: ["workflow/nuxt"],
  workflow: {
    typescriptPlugin: false, 
  },
  compatibilityDate: "latest",
});
OptionTypeDefaultDescription
typescriptPluginbooleantrueAdds the workflow TypeScript plugin to the generated tsconfig.json for IDE IntelliSense. Set to false to disable it.