Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 720 Bytes

gh-pages-deploy.md

File metadata and controls

20 lines (17 loc) · 720 Bytes

Deploy a new build to github pages

  1. In router/index.ts, comment out mode: 'history',
  2. In vue.config.js, add publicPath: '/flow-builder/', to top level export
  3. In package.json, add "build": "vue-cli-service build", to scripts section
  4. via https://cli.vuejs.org/guide/deployment.html#github-pages:
yarn build
cd dist && \n
  git init && \n 
  git add -A && \n
  git commit -m 'deploy' && \n
  git push -f [email protected]:FLOIP/flow-builder.git master:gh-pages; \n
  cd -

Next