/githubPagesVueDemo

Testing out vue on github pages

Primary LanguageVue

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

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.