简体ä¸æ–‡ | English
🔌 A Webpack plugin make the errors of Vue concise
Concise message
Expand to view details
npm i -D better-vue-error-plugin
// "webpack.config.js"
const BetterVueErrorPlugin = require('better-vue-error-plugin');
module.exports = {
// ...
plugins: [
new BetterVueErrorPlugin(),
// ...
],
}
- @babel/traverse: ^7.0.0
- webpack: >=4.0.0
- vue: >2.4.0
Property | Type | Default | Explanation |
---|---|---|---|
moduleName | string | "vue" | The name of the target module |
Example
new BetterVueErrorPlugin({
moduleName: 'vue',
});
- WeChat: ambit_tsai
- QQ Group: 663286147
- E-mail: ambit_tsai@qq.com