Use for >= 1.0
Posts made by bestog
RE: create installer electron
I have two npm scripts in package.json:
“prepack:win64”: “quasar build -c --mode electron --target win32 --arch x64 --theme mat”
“pack:win64”: "npm run prepack:win64 && electron-builder --win --x64 --project dist/electron-mat/UnPackaged/ --prepackaged …/[app-name]-win32-x64/
You need the “electron-builder” as dev-dependency.
npm run pack:64
Own Mixins in quasar 0.15-beta
I’m currently trying out the next version 0.15 (beta) and wanted to put my current project there. I use in the 0.14 project mixins in the “main.js”. How can I get the smooth into the new structure? Is there a way to include it via the “quasar.conf.js”?
PS: I use the Vue-instance in the mixins.
Build & Deploy electron app
I would like to simplify the process of building and deploying my electron app.
With quasar-cli I build the electron app. Now there is a folder with all important files to start the app, e. g. for windows.
I saw at “electron-vue” that they go one step further and create a setup from it. Is there a possibility to store this functionality in the quasar-cli (or in the build-file)?
Furthermore, it would be nice to use quasar-cli to load the builds (setups) onto a server and instruct the client electron app to update itself.
I think “electron-packager” offers such functionality. But not in relation to the Quasar framework.
I would be happy about cool ideas and examples.