- 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/
npm install
npm run serve
npm run build
npm run lint