Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
vue-cli-plugin-electron-vuetify
Advanced tools
vue-cli plugin to easily scaffold Vuetify 2.x w/ Electron 9.0
vue-cli plugin to easily scaffold Vuetify 2.x w/ Electron 9.0
This plugin/preset is still very much a work in progress. Currently it is just a port of the old electron-vuetify repository.
It is currently recommended to only use this preset to start a new project via the provided preset. In the future, a more robust setup may be created to handle the addition to existing projects.
Using the latest version of @vue/cli
- run the following command:
vue create --preset majesticpotatoe/vue-cli-plugin-electron-vuetify my-app
Currently theres an issue I am looking to resolve with preset configurations, For the time being prompts have been enabled. Make sure you select Electron v9.0.0.
Electron-vuetify is set up in a way to be used as both a standard SPA as well as an Electron app from the same codebase. There are 2 sets of commands for dev server and build:
// standard app
yarn serve
// electron app
yarn electron:serve
// standard app
yarn build
// electron app
yarn electron:build
Building is performed using electron-builder with assistance of the vue-cli-plugin-electron-builder. Configuration is performed via pluginOptions.electronBuilder
found in vue.config.js
. A simple config for a window has been included.
For more info regarding electron-builder, its configuration and caveats, visit the electron docs.
Auto updating is performed by electron-updater. This works by using a github repository to prompt and update your electron app when a new version is published. You will need to make sure you update the repository
in your package.json
to the repository you wish to publish to.
Publishing is enabled by default via the
pluginOptions.electronBuilder.builderOptions.win.publish
setting invue.config.js
.
For more info regarding electron updater, its configuration and caveats, visit the electron docs.
To maintain proper compilation between standard and electron apps, all electron state functionalities are placed in their own store. When running in electron, these stores are not loaded.
It is recommended to keep electron based components separate and disable their rendering with use of
process.env.IS_ELECTRON
controls aspects of the electron window.
Name | Default | Description |
---|---|---|
fullscreen | false | window is in a fullscreen state |
maximized | false | window is in a maximized state |
| Name | Description | | --- | --- | --- | | closeWin | closes the electron window | | minimizeWin | minimizes the electron window | | toggleFullscreen | toggles the electron window between a fullscreen and normal state | | toggleMaximize | toggles the electron window between a maximized and normal state |
FAQs
vue-cli plugin to easily scaffold Vuetify 2.x w/ Electron 9.0
The npm package vue-cli-plugin-electron-vuetify receives a total of 112 weekly downloads. As such, vue-cli-plugin-electron-vuetify popularity was classified as not popular.
We found that vue-cli-plugin-electron-vuetify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.