UNPKG

nuxt

Version:

Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.

14 lines (13 loc) 464 B
import { renderDiagnostics } from "../../app/diagnostics/render.js"; import { defineComponent } from "vue"; import { devPagesDir } from "#build/nuxt.config.mjs"; //#region src/pages/runtime/page-placeholder.ts const PagePlaceholder = defineComponent({ name: "NuxtPage", setup(_, props) { if (import.meta.dev) renderDiagnostics.NUXT_E4014({ dir: devPagesDir }); return () => props.slots.default?.(); } }); //#endregion export { PagePlaceholder as default };