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.48k stars 1.55k forks source link

How to use it for vue3.x #1088

Open geeklibin opened 3 years ago

geeklibin commented 3 years ago

How to use it for vue3.x

LauraWebdev commented 3 years ago

I'm also interested if this works or another project exists as a "vue3 electron starter template"

andotorg commented 3 years ago

https://github.com/andotorg/electron-vue-app-template

andotorg commented 3 years ago

我也很感兴趣这是否有效或另一个项目作为“vue3电子入门模板”存在 可以根据我的项目区使用新版vue https://github.com/andotorg/electron-vue-app-template

LauraWebdev commented 3 years ago

@andotorg your template runs on Vue 2.6 according to the package.json and not on Vue 3.0

andotorg commented 3 years ago

I am upgrading it and will write a quick document on how to use the combination of electron and Vue 3.0

branch vue3 is vue 3.0 https://github.com/andotorg/electron-vue-app-template/tree/vue3

Deluze commented 3 years ago

I'm also interested if this works or another project exists as a "vue3 electron starter template"

I created a clean, bare bones Electron + Vue 3 template that can be found here: electron-vue-template, because this project is not being maintained and is outdated.

Though if you want to use Vue 3.x in this project you should just be able to upgrade the current package and use the new Vue.createApp interface.