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.

10 lines (9 loc) 319 B
import { defineNuxtPlugin } from "../nuxt.js"; //#region src/app/plugins/warn.dev.server.ts const plugin = /* @__PURE__ */ defineNuxtPlugin((nuxtApp) => { nuxtApp.vueApp.config.warnHandler ??= (msg, _instance, trace) => { console.warn(`[Vue warn]: ${msg}`, trace); }; }); //#endregion export { plugin as default };