1.0.6 ā¢ Published 4 years ago
electron-vue-gen v1.0.6
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