better-vue-error-plugin

0.1.1 • Public • Published

简体中文 | English

Better Vue Error Plugin

🔌 A Webpack plugin make the errors of Vue concise

Effect

Before

before

After

Concise message

after01

Expand to view details

after02

Installation

npm i -D better-vue-error-plugin

Usage

// "webpack.config.js"
const BetterVueErrorPlugin = require('better-vue-error-plugin');
 
module.exports = {
    // ...
    plugins: [
        new BetterVueErrorPlugin(),
        // ...
    ],
}

Dependency

  1. @babel/traverse: ^7.0.0
  2. webpack: >=4.0.0
  3. vue: >2.4.0

Parameter

Property Type Default Explanation
moduleName string "vue" The name of the target module

Example

new BetterVueErrorPlugin({
    moduleName: 'vue',
});

Contact

  1. WeChat: ambit_tsai
  2. QQ Group: 663286147
  3. E-mail: ambit_tsai@qq.com

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.10latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.10
0.1.00

Package Sidebar

Install

npm i better-vue-error-plugin

Weekly Downloads

0

Version

0.1.1

License

Apache-2.0

Unpacked Size

21.9 kB

Total Files

7

Last publish

Collaborators

  • ambit_tsai