简体中文 | English
Better Vue Error Plugin
🔌 A Webpack plugin make the errors of Vue concise
Effect
Before
After
Concise message
Expand to view details
Installation
npm i -D better-vue-error-plugin
Usage
// "webpack.config.js"const BetterVueErrorPlugin = ; moduleexports = // ... plugins: // ...
Dependency
- @babel/traverse: ^7.0.0
- webpack: >=4.0.0
- vue: >2.4.0
Parameter
Property | Type | Default | Explanation |
---|---|---|---|
moduleName | string | "vue" | The name of the target module |
Example
moduleName: 'vue';
Contact
- WeChat: ambit_tsai
- QQ Group: 663286147
- E-mail: ambit_tsai@qq.com