dromara / electron-egg

A simple, cross platform, enterprise desktop software development framework

Home Page:https://www.kaka996.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build issue

xqyi opened this issue · comments

按以下流程执行将一个已有的VUE项目打包进来会遇到Build后是默认Electron-Egg的页面:
1 git clone 本项目到本地
2 git clone https://github.com/vbenjs/vue-vben-admin.git到本项目的frontend文件夹
3 调整vue-vben-admin项目源代码的根目录为frontend文件夹
4 在本项目的根目录下npm i安装依赖,成功执行没有错误
5 在frontend目录下npm i安装依赖,成功执行没有错误
6 在本项目根目录下npm run dev运行,成功运行两个服务,electron窗口出现,vue-vben-admin项目正确运行在窗口中,功能正常
7 在本项目根目录下npm run build-w(本机windows 11),打包成功无错误信息提示
8 在out目录下运行exe安装,完成后启动程序,出现的界面不是vue-vben-admin项目,而是electron-egg默认的界面UI

这是什么情况呢?