Back to Withastro

Actions must be used with server output.

src/content/docs/en/reference/errors/actions-without-server-output-error.mdx

latest475 B
Original Source

import DontEditWarning from '~/components/DontEditWarning.astro'

<DontEditWarning />

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

What went wrong?

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

See Also: