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) 501 B
import { createError } from "../composables/error.js"; //#region src/app/components/nuxt-stubs.ts function renderStubMessage(name) { throw createError({ fatal: true, status: 500, statusText: `${name} is provided by @nuxt/image. Check your console to install it or run 'npx nuxt module add @nuxt/image'` }); } const NuxtImg = { setup: () => renderStubMessage("<NuxtImg>") }; const NuxtPicture = { setup: () => renderStubMessage("<NuxtPicture>") }; //#endregion export { NuxtImg, NuxtPicture };