Nw.js: Vue-devtools not working

Created on 29 Jul 2018  路  5Comments  路  Source: nwjs/nw.js

======== TEMPLATE BUG FORM ========

NWJS Version : nwjs-sdk-v0.32.0-win-x64
Operating System : win10

Expected behavior

Vue-devtools should work

Actual behavior

error: Proxy injection failed
nwjs

How to reproduce

test.zip

  • Unzip test.zip to some folder
  • cd to selected folder
  • npm install
  • npx nw .

Most helpful comment

I think It's a permission issue related to the chrome extension. I had this problem too so I added a new permission url pattern in the manifest.json of the extension and now It's working just fine :

"permissions": [ "http://*/*", "https://*/*", "file:///*", "contextMenus" , "*://*/*" ]

All 5 comments

Having the same issue. I could reproduce this.

I think It's a permission issue related to the chrome extension. I had this problem too so I added a new permission url pattern in the manifest.json of the extension and now It's working just fine :

"permissions": [ "http://*/*", "https://*/*", "file:///*", "contextMenus" , "*://*/*" ]

Also a reminder for everyone out there, you must have Vue.config.devtools = true; for Vue tab to appear.

I have created a package to automate this:

Follow the instructions there.

@fprijate @Mxkkxa @DimPaDev

@masterjg's fix has been merged into nw-vue-devtools and a new release (1.3.0) has been published to npm. Closing this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sorty-zz picture sorty-zz  路  4Comments

nawazishali picture nawazishali  路  3Comments

gengshenghong picture gengshenghong  路  3Comments

niutech picture niutech  路  4Comments

chino23 picture chino23  路  3Comments