Nuxt · NUXT0044
Place app directories under app/
Finds Nuxt project code that should use the supported app directory placement pattern instead.
nuxt/project/prefer-app-directory-placementsrc/rule-packs/nuxt/rules/nuxt/prefer-app-directory-placement.ts Upstream docs 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.
Recommended fix
Use the Nuxt-supported app directory placement pattern instead.
Useful links
Example
Place app files in app directory
Before
pages/index.vue
components/AppHeader.vue
After
app/pages/index.vue
app/components/AppHeader.vue