npm init
npm install electron --save-dev
局部安装electron导致命令行窗口无法识别electron命令
Uncaught ReferenceError: require is not defined :https://www.cnblogs.com/smileyqp/p/12675350.html https://blog.csdn.net/BigFamer/article/details/111594514
Uncaught TyeEror: Cannot set properies of null (setting innerHTML):div的id写错了
>>Electron+Vue:
>>Syntax:unexpected token:https://www.jianshu.com/p/38acd81deaec https://blog.csdn.net/weixin_46736220/article/details/109224677
Vue代码里面那么多import,怎么可能全部换成require
>>vue2-electron9-开发模板:https://blog.csdn.net/pyorz/article/details/110233238
执行yarn run electron:serve
模板启动后