Yolgie / githubPagesVueDemo

Testing out vue on github pages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Testing out vue on github pages


Languages

Language:Vue 71.6%Language:HTML 17.3%Language:JavaScript 9.4%Language:Batchfile 1.7%