参考:https://simulatedgreg.gitbooks.io/electron-vue/content/cn/getting_started.html
1、 cnpm install -g vue-cli
2、 vue init simulatedgreg/electron-vue my-project
一路回车
3、cd my-project
4、cnpm install

5、cnpm run dev

项目启动

原文:https://www.cnblogs.com/zhaogaojian/p/10227863.html