Documentación offline Nuxt main

<DevOnly>

main Documentación oficial Licencia MITDescargado el 2026-08-02

Nuxt provides the <DevOnly> component to render a component only during development.

The content will not be included in production builds.

```vue [app/pages/example.vue]

## Slots

- `#fallback`: if you ever require to have a replacement during production.

```vue
<template>
  <div>
    <Sidebar />
    <DevOnly>
      <!-- this component will only be rendered during development -->
      <LazyDebugBar />
      <!-- be sure to test these using `nuxt preview` -->
      <template #fallback>
        <div><!-- empty div for flex.justify-between --></div>
      </template>
    </DevOnly>
  </div>
</template>