1.0.6 ā€¢ Published 4 years ago

electron-vue-gen v1.0.6

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

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