SimulatedGREG / electron-vue

An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.
https://simulatedgreg.gitbooks.io/electron-vue/content/
MIT License
15.46k stars 1.54k forks source link

with vue cli3 #695

Open sayi65 opened 5 years ago

sayi65 commented 5 years ago

Is it run with vue cli 3?

lbenie commented 5 years ago

AFAIK not yet.

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

sayi65 commented 5 years ago

Thank you for your comment

ysneo commented 5 years ago

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 vue-cli@2.x
vue init webpack my-project
XanderLuciano commented 5 years ago

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.

AllanPinheiroDeLima commented 5 years ago

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 :)