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.

15 lines (14 loc) 438 B
import { createError } from "../composables/error.js"; 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'` }); } export const NuxtImg = { setup: () => renderStubMessage("<NuxtImg>") }; export const NuxtPicture = { setup: () => renderStubMessage("<NuxtPicture>") };