web-meta-framework-nuxt
Installation
SKILL.md
Nuxt Framework Patterns
Quick Guide:
useFetchfor an API call in a component,useAsyncDatafor a custom source or several fetches combined — both transfer the server's result to the client so nothing is fetched twice. Server routes live inserver/api/, shared state inuseState, and composables and components are auto-imported. Two facts change the answers below:datais ashallowRef, so replace the object rather than mutating into it (or passdeep: true), anddataanderrordefault toundefinedrather thannull.
Detailed Resources:
- examples/core.md — pages, layouts, error handling, SEO composables, plugins, runtime config
- examples/data-fetching.md — typed responses, transforms, lazy and server-only fetching
- examples/server-routes.md — CRUD handlers, validation, server middleware, error utilities
- examples/middleware.md — auth guards, role checks, global and inline middleware
- examples/state-management.md —
useStatecomposables, cookie persistence, server-initialised state - reference.md — decision trees, directory conventions, per-area checklists