better-vue-warn
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

better-vue-warn

This is a plugin, let vue3 has a better warn.

Add the Component's file path to the warn info.

在Vue3中使用此款插件,优化警告信息。

将组件的文件路径添加到警告信息上去。

Usage

main.ts

import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import betterVueWarn from 'better-vue-warn'

const app = createApp(App)
app.use(betterVueWarn).mount('#app')

warn

TODO

Package Sidebar

Install

npm i better-vue-warn

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

10.1 kB

Total Files

11

Last publish

Collaborators

  • liulinboyi