/vue-online

Vue 纯前端 单叶应用发布GitHub流程

Primary LanguageVueMIT LicenseMIT

vue-shop

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Customize configuration

See Configuration Reference.

  1. npm run serve 开发
  2. npm run build 打包
  3. 把dist/index.html 所有链接改为./
  4. git checkout -b gh-pages
  5. git push origin gh-pages