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.47k stars 1.54k forks source link

Would not advise to use this template! #1027

Open Fusseldieb opened 4 years ago

Fusseldieb commented 4 years ago

Massively outdated depencies, build fails, author that doesn't fix, respond or even accept pull requests. The right thing in this kind of situation would be archiving this repository and editing the README to include "OUTDATED" or "INACTIVE FOR NOW". A 2 min task.

If the author of this repository sees this issue, please know that I'm not discouraging or even hating on someones project that probably took several hours, days or even weeks to complete, but in this situation it just does more harm than good.

To anyone looking to use this project, it would be wise to fork it and fix the broken stuff and outdated dependencies, or simply using another template from another repo.

But anyways, thanks for your contribution to open source code, @SimulatedGREG !

mxswat commented 4 years ago

Do you have any suggestions for alternatives?

ikuokuo commented 4 years ago

Do you have any suggestions for alternatives?

Could use Vue CLI Plugin Electron Builder instead.

Here are some articles about how to create an Electron App with Vue.js:

mxswat commented 4 years ago

Thanks!

mxswat commented 4 years ago

Do you have any suggestions for alternatives?

Could use Vue CLI Plugin Electron Builder instead.

Here are some articles about how to create an Electron App with Vue.js:

I did but, when I open the built version of the app the screen remains empty

ClarkAllen1556 commented 4 years ago

It seems really odd that this template has died off so suddenly. It's pretty much the first result if you search "electron with vuejs" and it has the most stars and best document of the templates. What doesn't @SimulatedGREG seem to want to encourage an active community to support this template. It has over 12k stars and 1k forks, seems like someone out there would want to help. With over 200 issues open and most of them trying to get the dependencies updated and fix the initial setup though it seems hopeless.

mxswat commented 4 years ago

Do you have any suggestions for alternatives?

Could use Vue CLI Plugin Electron Builder instead. Here are some articles about how to create an Electron App with Vue.js:

I did but, when I open the built version of the app the screen remains empty

Anyway, the tutorial was fine but It didn't specify to use Hash mode in the router

Fusseldieb commented 4 years ago

It seems really odd that this template has died off so suddenly. It's pretty much the first result if you search "electron with vuejs" and it has the most stars and best document of the templates. What doesn't @SimulatedGREG seem to want to encourage an active community to support this template. It has over 12k stars and 1k forks, seems like someone out there would want to help. With over 200 issues open and most of them trying to get the dependencies updated and fix the initial setup though it seems hopeless.

What I personally find rather odd that he's actively working on other stuff as it seems and not even saying a single "Hi, am busy" or something. I'm almost sure he can give another person the ownership, or at least permission to fork things, which would save this project.

bromix commented 4 years ago

Hi there, I'm the author of Create an Electron application with Vue and Vuetify. I updated the article to work with the latest version of Electron 9 and the missing typings to work with TypeScript.

KungFuPandaNoKungFu commented 4 years ago

I wanted to help maintain this project but the author went missing

DevJMD commented 4 years ago

Just ran in to this issue myself. After seeing how outdated Electron was and the babel dependencies being outdated by three years I thought I'd try update them as there were so many NPM security issues (and the Electron build was massively outdated anyway).

In other news, this is a reminder to myself why I try not to depend so heavily on projects like this because it can be the life and difference between a maintainer choosing to abandoning a project or staying committed to it and that alone can come at a heavy cost of someone's business if the ethical choice was to trust the maintainer at the time. Unfortunately, it's always going to be a gamble because you don't know the maintainer's circumstances and it could well be out of their control for all we know. It's just a shame such a largely promoted repository appears to be dead in the water.

Sadly, it looks like I'm going to have to manually cherry pick every config and dependency (for example, Babel dropping preset support) until I get a stable build on Electron v10.0.0 and may even spin-off this repo as a maintained one myself from here on out as that seems the safest choice rather than going last-resort and scrapping it.

Edit: This was an existing project I took on, by the way. It was in desperate need of an update (multiple security vulns from dated software in NPM), and just days after writing this post, I decided in the end to scrap the entire Electron implementation and rebuild it with a clean, up-to-date version of Webpack, Babel, Vue and most importantly, Electron 10+ whilst trying my best to reuse the Vue components.

Lessons taken from from this:

My advice: avoid this project.

There's a great guide here that implements Vue, Vuex (for state management), Axios for HTTP requests and of course, Electron itself.

Source: https://www.smashingmagazine.com/2020/07/desktop-apps-electron-vue-javascript/

DevVue commented 4 years ago

Yes same issue with outdated packages causing lots of issues, as this post says i would advise not using this. Thankfully i spotted these comments early on after facing issues, rather than battling through we decided to drop the project and start our own, that way we know the application.

Nisthar commented 4 years ago

I fucked up by using this package

genu commented 4 years ago

Hi there, I'm the author of Create an Electron application with Vue and Vuetify. I updated the article to work with the latest version of Electron 9 and the missing typings to work with TypeScript.

Can't see the article due to Medium requiring registration. Maybe consider cross publishing on an open platform as well (like gist)

bromix commented 3 years ago

Hi there, I'm the author of Create an Electron application with Vue and Vuetify. I updated the article to work with the latest version of Electron 9 and the missing typings to work with TypeScript.

Can't see the article due to Medium requiring registration. Maybe consider cross publishing on an open platform as well (like gist)

You don't need an account. Just use the incognito mode of your browser and you can read the article 😉

maxiride commented 3 years ago

Lucky me I stumbled upon this issue before committing myself to the project!

Sadly it doesn't seem there are any active forks worth mentioning: https://techgaun.github.io/active-forks/index.html#SimulatedGREG/electron-vue

chongma commented 3 years ago

thank you for this thread! i nearly made the mistake of using this template. this helped me https://github.com/ikuokuo/start-electron/blob/master/docs/tutorial/5_electron-app.md

ValueEyecareNetwork commented 3 years ago

I fucked up by using this package

Same here :(

loveStef commented 2 years ago

I fucked up by using this package

2022年的受害者来了