0.0.1 • Published 5 years ago

vgh v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

vgh-pages

What

CLI to quickly deploy VueJS projects to GitHub Pages. This is pretty useful for quick mocks and prototypes.

Why

How

Then you can install vgh-pages through a package manager of your preference:

# using yarn
yarn add global vgh-pages
# using npm
npm i -g vgh-pages
# case your project goes directly in the root
# or your publicPath is already properly set inside the vue.config.js
vgh
# or else
# don't forguet to set your public path, the project name that appears after the slash.
# (e.g.: https://[your-username].github.io/[your-project-name])
vgh --public-path [your-project-name]
flagUsageexampleDefault
--public-path string-p [path] or --public-path [path]vgh -p your-project-name'/'
--dir string-d [dir] or --dir [dir]vgh -d dist/dist
--add bool-a or --add-dotfilesvgh -afalse
--branch string-b [branch] or --branch [branch]vgh -b gh-pagesgh-pages
--email string-e [email] or --email [email]vgh -e you@email.comImplyied from your Git Global variables or undefined
--keep-existing-files bool-k or --keep-existing-filesvgh -kfalse
--message string-m [message] or --message [message]vgh -m 'your commit message''Updates for GitHub Pages'
--name string-n [name] or --name [name]vgh -n 'your-user-name'Implyied from your Git Global variables or undefined
--skip-build bool-s or --skip-buildvgh -sfalse
--tag string-t [tag] or --tag [tag]vgh -t tag-name''

@ instead of ..