Is this project still maintained? I followed the Getting started guide and I'm unable to use yarn run dev. I see the dependencies under package.json to also be outdated, being the most critical [email protected], whereas Electron is currently at v10.
Follow the steps provided in the Getting started guide:
# Install vue-cli and scaffold boilerplate
npm install -g vue-cli
vue init simulatedgreg/electron-vue my-project
# Install dependencies and run your app
cd my-project
yarn # or npm install
yarn run dev # or npm run dev

Thanks to @webdq , problem solved.
Furthermore, we can fork this repository to create a working one.
My fix: https://github.com/compilelife/electron-vue/commit/9322d08267a60243e71a9a3f4c0ffb391a83a265
Usage:
vue init compilelife/electron-vue test
cd test
yarn
yarn run dev
Thanks @webdq for sharing this link. It worked for me but it still confuses me that electron-vue has the old electron version etc.
Most helpful comment
https://auth0.com/blog/electron-tutorial-building-modern-desktop-apps-with-vue-js/