Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Enable VueJS devtools plugin in production #609

@jeeftor

Description

@jeeftor
Describe the issue / bug.

I'm running an app in a production format, however, I still need access to the devtools to debug some of the incoming data. I've been able to enable the standard devtools in production mode but I'm having trouble loading the vuejs specific dev tools extension.

How can I reproduce this problem?

#

I added
require('electron-debug')({ enabled: true })

to index.js which enabled the devtools

I've tried adding:


  let installExtension = require('electron-devtools-installer')
  if (process.env.NODE_ENV === 'development') {
    installExtension.default(installExtension.VUEJS_DEVTOOLS)
      .then(() => {})
      .catch(err => {
        console.log('Unable to install `vue-devtools`: \n', err)
      })
  }

to the createWindow function - but this doesn't seem to work correctly.

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions