Nuxt · NUXT0044

Place app directories under app/

Finds Nuxt project code that should use the supported app directory placement pattern instead.
NUXT0044vite-doctor/nuxtarchitectureinfoSuggestion

Run this rule

pnpm nuxt doctor --rules nuxt/project/prefer-app-directory-placement

Why it matters

Nuxt 4 scans app code under app/. Keeping legacy top-level directories can make ownership unclear and diverge from the current directory contract.

Use the Nuxt-supported app directory placement pattern instead.

Example

Place app files in app directory

Before

pages/index.vue
components/AppHeader.vue

After

app/pages/index.vue
app/components/AppHeader.vue
Copyright © 2026