- CLAUDE.md 운영 규칙 - wiki/ 정리된 지식 페이지 (Nuxt + Claude Code) - raw/ 원본 자료 - reference/ Nuxt 4.x 공식 문서 Co-authored-by: Cursor <cursoragent@cursor.com>
829 B
829 B
title, description
| title | description |
|---|---|
| Server | Learn how to migrate from Nuxt 2 to Nuxt 3 server. |
In a built Nuxt 3 application, there is no runtime Nuxt dependency. That means your site will be highly performant, and ultra-slim. But it also means you can no longer hook into runtime Nuxt server hooks.
:read-more{to="/docs/4.x/guide/concepts/server-engine"}
Steps
- Remove the
renderkey in yournuxt.config. - Any files in
~~/server/apiand~~/server/middlewarewill be automatically registered; you can remove them from yourserverMiddlewarearray. - Update any other items in your
serverMiddlewarearray to point to files or npm packages directly, rather than using inline functions.
:read-more{to="/docs/4.x/directory-structure/server"} :read-more{to="/docs/4.x/guide/going-further/hooks#server-hooks-runtime"}