W3cubDocs

/Astro

Actions must be used with server output.

ActionsWithoutServerOutputError: A server is required to create callable backend functions. To deploy routes to a server, add an adapter to your Astro config and configure your route for on-demand rendering

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

See Also:

© 2021 Fred K. Schott
Licensed under the MIT License.
https://docs.astro.build/en/reference/errors/actions-without-server-output-error/