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.

9 lines (8 loc) 324 B
import { createCommentVNode, createElementBlock, defineComponent } from "vue"; import { clientNodePlaceholder } from "#build/nuxt.config.mjs"; export default defineComponent({ name: "ServerPlaceholder", render() { return clientNodePlaceholder ? createCommentVNode("placeholder") : createElementBlock("div"); } });