Package Exports
- vue-gh-pages
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-gh-pages) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vue-gh-pages
Since I could not find a clean way of deploying vue-cli apps to github pages so I made this one
Install the module
npm install --save vue-gh-pagesAdd the following to the script section of your package.json:
"deploy": "./node_modules/vue-gh-pages/index.js"Now when you're ready to push to github run
npm run deployThis will create an optimized production build of your project ready for github pages
Finally, if this is your first commit to gh-pages, go to your repository's settings on github, scroll down to the gh-pages section and change the source to:
master branch /docs folderThat's it!