Reputation: 17415
When I run the project by npm run electron:serve
, the components tree of the Vue.js devtools
and other tabs are empty. Actually it dose not detect the project.
How can I solve the problem?
Upvotes: 0
Views: 612
Reputation: 17415
Terminate the project and add the following line before the new Vue(...)
in main.js
file the run the project again by npm run electron:serve
command.
Vue.config.devtools = process.env.NODE_ENV === 'development';
Result:
Upvotes: 2