vite-electron-quick
vite-electron-quick copied to clipboard
⚡️Starter template with Vite2 Vue3 and Electron 11.x /使用 Vite2 Vue3 以及 Electron 11.x 打造的快速启动模版。
npm run dev 可以正常运行,并调用这个模块的功能, npm run build 后生成的 .exe 文件会出现如下情况 
build 错误

[vue] error when starting dev server: [vue] Error: The following dependencies are imported but could not be resolved: [vue] element-plus/lib/theme-chalk/index.css (imported by /home/golove/vite_electron/src/render/main.ts) [vue] Are they installed? ele] A JavaScript...
为什么访问不到图片?在 src/main/index.ts 里面,使用 path.join + dirname 访问的是 dist 里面的图片,但是 dist 里面并没有这个图片,该怎么解决呢?
开发时在.\src\render\assets\目录下使用的icon文件,yarn dev时可以正常使用,但是yarn build后找不到这一icon文件
正常模式下使用`require`可以引用第三方包,但是在构建后并没有`node_modules`目录包含第三方模块,所以打包后启动报错。 请问有什么好的解决方法么?
3月14日 问题
好像vite更新频繁 ……今天看dev 好像element-plus有问题 注释之后可以运行electron 但是有Uncaught ReferenceError: require is not defined 错误     望大佬有空修复下
An update of rollup-build-plugin has just been launched and I had to update it manually because some methods are not supported by esbuild anymore and the version that comes in...