本文最后更新于1068 天前,其中的信息可能已经过时,如有错误请发送邮件到2192492965@qq.com
vue项目创建
vue create my-project
配置完成后即可
构建 Electron 桌面应用程序
安装 Vue CLI Plugin Electron Builder
vue add electron-builder
运行
yarn run electron:serve
解决electron vue 项目中 Failed to fetch extension, trying 4 more times
注释掉安装vue devtools的代码
app.on("ready", async () => {
// if (isDevelopment && !process.env.IS_TEST) {
// // Install Vue Devtools
// try {
// await installExtension(VUEJS3_DEVTOOLS);
// } catch (e) {
// console.error("Vue Devtools failed to install:", e.toString());
// }
// }
createWindow();
});







