Electron pack vue?

clipboard.png

bulidelectron index.html
package.json
"abc": "npm run build && electron build/electron.js",


clipboard.png

I copied an electron.js and a packpage.json, in the dist folder
change the path of index.html in electron.js to the path of index in the current folder, and add
"main": "electron.js",
"scripts": {

in
packpage.json
"start": "electron ."

}
this is the only way to use it. Can I use an electron.js and a package.json

?

electron can run
package.json files are required
main fields must specify a js file


such a configuration uses electron packaging: vue packaged dist. Can exe files be routed directly when they are opened?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3170d-2b0f9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3170d-2b0f9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?