安装 nw-vue-devtools
package.json 配置如下:
{
"chromium-orgs": "--load-extension='./node_modules/nw-vue-devtools'",
...
}
跑起来调试抛出了个错误:
`Failed to load resource: net::ERR_FILE_NOT_FOUND
chrome-extension://aoionhbkcjeelfdihgcecbjfnfpcalcg/node_modules/vue/dist/vue.js`
1
cszchen 2021-03-17 11:03:44 +08:00
nwjs 是 electron 的前身吧
|
3
rbrkee 2021-03-17 17:18:00 +08:00
https://github.com/nwutils/nw-vue-devtools#instructions
> 3. Vue.js must be in use in your app, and cannot be minified (vue.js not vue.min.js). 综合你的错误信息,所以我觉得应该 npm install vue |