Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

electron-vue-gen

kneasch15MIT1.0.6

A very light-weight Electron and Vue generator

vue, electron, electron-vue, vue-electron, node, npm, create-electron-app, create-vue-app, create-electron-vue-app

readme

electron-vue-gen

Install

npm i -g @vue/cli

npm i -g electron-vue-gen

Examples

Without a Preset

electron-vue-gen --name helloworld --folder C:/Projects

With a Preset

electron-vue-gen --name helloworld --folder C:/Projects --vuePreset myCustomVuePreset

Result

📋 Initial Setup
⚙ Switching to Root Directory
⚙ Creating Root Project Directory
⚙ Switching to Root Project Directory
✅ Initial Setup

📋 Electron Setup
⚙ Creating Electron Project Folder
⚙ Initializing npm
⚙ Installing Electron
⚙ Copying Electron Templates and Files
⚙ Adding `npm start` Command to Electron package.json
✅ Electron Setup

📋 Vue Setup
⚙ Creating Vue Project With Default Preset
⚙ Deleting C:/Projects/helloworld/helloworld-vue/src/components/HelloWorld.vue
⚙ Deleting C:/Projects/helloworld/helloworld-vue/.git
⚙ Deleting C:/Projects/helloworld/helloworld-vue/README.md
⚙ Copying Vue Templates and Files
⚙ Deleting C:/Projects/helloworld/helloworld-vue/.gitignore
✅ Vue Setup

📋 Git Setup
⚙ Initializing Git
✅ Git Setup 

😎 You're ready to rock!
👉 C:/Projects/helloworld

Arguments

  • --name
    • Required
    • The name of your project
  • --folder
    • Required
    • The root folder where this will create the all of the project folders
  • --vuePreset
    • Optional
    • If not provided, the Vue project will be generated using --default