0549a46632
The existing example causes issues with eslint's `eslintimport/no-anonymous-default-export` rule that come pre-enabled with `create-next-app`. Added a name to the api handler function before setting it as the default export. ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm build && pnpm lint` - [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com> |
||
---|---|---|
.. | ||
data-fetching | ||
built-in-css-support.md | ||
environment-variables.md | ||
eslint.md | ||
fast-refresh.md | ||
font-optimization.md | ||
image-optimization.md | ||
layouts.md | ||
pages.md | ||
script.md | ||
static-file-serving.md | ||
supported-browsers-features.md | ||
typescript.md |