Nuxt · UI

NUXT0015Use UApp when Nuxt UI app services are used

Checks that Nuxt project code includes the UApp root needed for predictable behavior.

Why it happens

Nuxt gives this pattern a specific contract. Staying inside that contract makes the code easier to test, refactor, and run across server and client runtimes.

Fix

Add UApp root where Nuxt expects it, close to the code that depends on it.

Example

Add UApp root

Before

<template>
  <NuxtPage />
</template>

After

<template>
  <UApp>
    <NuxtPage />
  </UApp>
</template>

Verify the fix

Run only this rule after editing so the report stays focused on the diagnostic you are closing:

pnpm nuxt doctor --rules nuxt-ui/require-uapp-root
Copyright © 2026