vue-cli-plugin-electron-builder

Easily Build Your Vue.js App For Desktop With Electron

MIT License

Downloads
23.4K
Stars
4.1K
Committers
41
vue-cli-plugin-electron-builder - RC 2 - Small fix with native modules

Published by nklayman about 6 years ago

This release adds a small fix for native modules. Before, if a native module had an index.js it would be marked as not external whether or not the user listed it as an external or other checks marked it as one. (#57, 4df3aeb63d67034b0597d55382277bee67d14826)

vue-cli-plugin-electron-builder - RC.1 - Native Modules, Latest CLI-Service, smart generator!

Published by nklayman about 6 years ago

I am now able to move VCP-Electron-Builder into release candidate stage 🎉 as I fixed two of it's major issues:

  • Native modules support (#51, fb684b99f2e0a395463c6e052e95d9db914916a3, docs)
  • Latest vue-cli-service support (c068159eebe903989c0c8955b0843d568a1918d6)

To upgrade, you will only need to re-invoke the generator (vue invoke electron-builder) if you need native modules support. Thanks to the smart generator (d4d55c67813b2790fe1b3d3e415e36b58e9c38ff), only missing code will be added and the rest will be left alone.

vue-cli-plugin-electron-builder - Beta.7

Published by nklayman about 6 years ago

This is a small release, containing a few bug fixes:

vue-cli-plugin-electron-builder - Beta.6 - bug fixes, auto reload main process

Published by nklayman over 6 years ago

This release has 2 new bug fixes:

  • The generator now supports not having a gitignore file (#36, 0730bc79f09a480c9e7582d64fe5d5897f0c590f)
  • JS files are resolved properly in typescript (#34, 89349687ee93d11831403191aeff9d56b0f7b4be)

Also, whenever your main process file is changed, Electron will be closed, the main process file rebundled, and Electron will be relaunched.

vue-cli-plugin-electron-builder -

Published by nklayman over 6 years ago

This release has a small fix for Vue env modes in the testWithSpectron command.

vue-cli-plugin-electron-builder - Beta.4 - New Website, New Features

Published by nklayman over 6 years ago

First of all, I'd like to thank @bdiz and @u3u for the feature requests.

Second, we have a new website (powered by VuePress)! Check it out at https://nklayman.github.io/vue-cli-plugin-electron-builder/.

Last but not least, this release has a few new handy features:

  • Testing and debugging support. Read about how it works here
  • Vue modes (.env vars) are now supported
  • You can now customize the renderer process webpack config (docs)
  • Lodash deep merging is now used to prevent accidental default config overrides.
vue-cli-plugin-electron-builder - beta.2/3 - Me being an idiot

Published by nklayman over 6 years ago

When I renamed the branch to master, it broke the url for the custom vue-cli-service :(. in beta 2 I made a typo for the url, and beta 3 is the only beta that doesn't break on install. Also, it appears yarn has install issues regardless.

vue-cli-plugin-electron-builder - Beta.1 - default version of vcp-electron-builder

Published by nklayman over 6 years ago

With v1.0.0-beta.1, v1 is the default version of vue-cli-plugin-electron-builder🎉. While there are hardly any new features, it has near 100% test coverage (just missing ui interface and error logging). Thanks for all of your help reporting issues and requesting features! To upgrade from <=0.3.2, follow the upgrading guide. If you are upgrading from the v1.0.0-alpha, just update the version in your package.json, no need to re-invoke the generator.

vue-cli-plugin-electron-builder - alpha.11 - Modern mode now used

Published by nklayman over 6 years ago

Modern mode is now used in electron builds. Make sure to re-invoke the generator before using this update!

vue-cli-plugin-electron-builder - v1.0.0-alpha.10: Better static assets handling

Published by nklayman over 6 years ago

In this release, I improved handling of static assets not transpiled by webpack. Instructions are located here.

vue-cli-plugin-electron-builder - alpha.9 - serve:electron now works on mac/linux

Published by nklayman over 6 years ago

The command to launch electron has been changed so that electron is properly launched on Mac/Linux when serve:electron is run.

vue-cli-plugin-electron-builder - alpha.7 - CLI UI support (almost), better arg handling

Published by nklayman over 6 years ago

alpha.7 includes two main features:

Better arg handling

Previously, passing an argument such as --win nsis zip (any argument with an array value), the command would fail. Now, it works!

UI Support

The cli-ui is supported in this plugin, but won't be available until the rc.4 release of vue-cli. Here is what's included:

  • dashboard and analyzer support
  • config for build command arguments:
    • choose target architectures
    • choose which platforms to build for, and which formats for each target
  • logo, better discoverability
vue-cli-plugin-electron-builder - alpha.6 - better environment variables, webpack no longer breaks __dirname/__filename

Published by nklayman over 6 years ago

In this release, I fixed an issue where many environment variables were not available in the electron process. I also prevented webpack from changing __dirname/__filename.

vue-cli-plugin-electron-builder - Electron-builder args are now supported

Published by nklayman over 6 years ago

You can now pass args to electron-builder by passing them to build:electron. All args are supported, you can see a list on electron-builder's page.

vue-cli-plugin-electron-builder - 1.0.0! No more electron-webpack!

Published by nklayman over 6 years ago

No more electron-webpack, regular build config used

  • Less dependencies.
  • Faster build times!
  • No extra config for stylus, sass, etc... Just install the proper plugin.
  • Typescript support is automatic for both processes, just add the @vue/typescript plugin.

App layout

  • Your normal build will not be overwritten by build:electron.
  • The folder structure has changed dramatically.

Config changes

  • Electron-webpack config is no longer used.
  • configureWebpack and configureWebpackMain are no longer used and, in most cases, no longer necessary.
  • Electron-builder's config is now taken from the builderConfig key in vue-cli-plugin-electron-builder's plugin options.

Upgrading

Please see the upgrading guide.

vue-cli-plugin-electron-builder -

Published by nklayman over 6 years ago

vue-cli-plugin-electron-builder - Upgrade to electron-webpack@2, electron@2, add support for @vue/[email protected]

Published by nklayman over 6 years ago

Upgraded dependencies:

Upgrade to [email protected], [email protected], [email protected], and [email protected].

Vue CLI beta.10 support (webpack 4 + babel 7):

This update uses webpack 4 + babel 7 which will result in faster build times. It also requires @vue/[email protected] or greater. Make sure to re-invoke the generator after upgrading. If you still use @vue/[email protected] or earlier, do not upgrade, stay at v0.2.5.

Package Rankings
Top 1.19% on Npmjs.org
Top 6.73% on Proxy.golang.org
Badges
Extracted from project README
Build status
Related Projects