0.1.0 • Published 2 years ago

@hippy/hippy-vue-devtools-plugin v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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,
  }
}