新项目需求需要开发一款桌面软件,需要多窗口功能,在electron-vite基础上增加相关功能,基于vue3开发,包含多页面功能,根据ant-design-vue加入黑白两色主题模式,electron增加sqlite本地数据库,github地址
展示样式
sqlite运行如果出现一下问题:
was compiled against a different Node.js version using
NODE_MODULE_VERSION XX. This version of Node.js requires
NODE_MODULE_VERSION XX. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
可以通过以下命令解决:
npm install --save-dev electron-rebuild
.\node_modules\.bin\electron-rebuild -f -w better-sqlite3