Github Pages Vue Demo
Steps
- Create a basic hello world vue app with vue cli
- Create & push into Github repo
- Add
vue.config.js
- Build for production with
npm run build
- Push subtree to gh-pages with
git subtree push --prefix dist origin gh-pages
- Setup page on Github and select gh-pages:root as source
- Test under https://yolgie.github.io/githubPagesVueDemo/
Project setup
Compiles and hot-reloads for development
Compiles and minifies for production
Lints and fixes files
Customize configuration
See Configuration Reference.