Skip to content

操作必须与服务器输出一起使用。

ActionsWithoutServerOutputError:无需设置服务器构建输出即可启用操作。需要服务器来创建可调用的后端函数。要将路由部署到服务器,请将服务器适配器添加到你的 astro 配置。

¥ActionsWithoutServerOutputError: Actions enabled without setting a server build output. A server is required to create callable backend functions. To deploy routes to a server, add a server adapter to your astro config.

¥What went wrong?

你的项目必须具有服务器输出才能使用操作创建后端函数。

¥Your project must have a server output to create backend functions with Actions.

也可以看看:

¥See Also:

Astro 中文网 - 粤ICP备13048890号