@hippy/hippy-vue-devtools-plugin
v0.1.0
Published
> support vue devtools in hippy
Downloads
51
Keywords
Readme
@hippy/hippy-vue-devtools-plugin
support vue devtools in Hippy
Usage
const hippyVueDevtoolsPlugin = require('@hippy/hippy-vue-devtools-plugin');
module.exports = {
// add this plugin to webpack config
plugins: [
new InjectVueDevtoolsPlugin({
protocol: 'http',
host: 'localhost',
port: 38989,
}),
],
// or use @hippy/debug-server-next to auto enable this plugin
devServer: {
remote: {
protocol: 'http',
host: 'localhost',
port: 38989,
},
vueDevtools: true,
}
}