快速将web地址转换成桌面应用
- 技术栈:electron,electron-forge,layui
- 功能点:
- 配置窗体
- web嵌入窗体
npm config set registry=https://registry.npmmirror.com
npm config set disturl=https://registry.npmmirror.com/-/binary/node
npm config set electron_mirror=https://registry.npmmirror.com/-/binary/electron/
npm install
npm run start
npm run package
npm run make
npm install --save-dev electron
npm i -g @electron-forge/cli
electron-forge import
控制台中文乱码需要设置script:chcp 65001 &&
npm install -D asar