Electron-vue: with vue cli3

Created on 17 Sep 2018  ·  5Comments  ·  Source: SimulatedGREG/electron-vue

Is it run with vue cli 3?

Most helpful comment

More Details
Pulling 2.x Templates (Legacy)
Vue CLI 3 uses the same vue binary, so it overwrites Vue CLI 2 (vue-cli). If you still need the legacy vue init functionality, you can install a global bridge:

npm install -g @vue/cli-init
# vue init now works exactly the same as [email protected]
vue init webpack my-project

All 5 comments

AFAIK not yet.

There's an official package vue-cli-plugin-electron-builder

Thank you for your comment

More Details
Pulling 2.x Templates (Legacy)
Vue CLI 3 uses the same vue binary, so it overwrites Vue CLI 2 (vue-cli). If you still need the legacy vue init functionality, you can install a global bridge:

npm install -g @vue/cli-init
# vue init now works exactly the same as [email protected]
vue init webpack my-project

Vue CLI 2 and 3 are not directly compatible / comparable. Vue CLI 2 revolves around the idea of using a single template that has a lot of built in functionality, while Vue CLI 3 is a "plugin" based system where you add or remove plugins you want to use. As such it seems that the plugin suggested by @lbenie would be the best option for Vue CLI 3, though I'm not sure how comparable it is to this template.

I think would be nice to integrate VueJS 2.7-next + VueCli 3 with this project since they have hit the stable mark recently and they have many improvements / corrections. I may be wrong, but it would be really nice even abandoning old VueJS <2.5.x :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

webrtcn picture webrtcn  ·  3Comments

Oriol-GG picture Oriol-GG  ·  3Comments

blackw212 picture blackw212  ·  3Comments

michalzaq12 picture michalzaq12  ·  3Comments

iwen-pengh picture iwen-pengh  ·  3Comments