webpack-vue-plugin-inspector
v2.0.0-beta.1
Published
A tool help you locate code in IDE
Downloads
20
Readme
Install
# yarn
yarn add webpack-vue-plugin-inspector -D
# npm
npm install webpack-vue-plugin-inspector -D
Usage
only support webpack as so far
- win(default): control(left) + click
- mac(default): command(left) + click
const { webpackPlugin, pluginServerV4, pluginServerV5} = require('webpack-vue-plugin-inspector/webpack')
module.exports = defineConfig({
...
devServer: {
...domToCodeDevServerV5
},
configureWebpack: {
plugins: [
webpackPlugin({})
]
}
// use custom key as shortcuts
configureWebpack: {
plugins: [
webpackPlugin({
key: 'your key shortcuts'
})
]
}
})
Attention
You need to add environment variables in vscode