- Create Git repo, add code, push code
- Enable GitHub pages.
- In Vue code, create new file vue.config.js with this contents. This file will be in the base directory of your project, same place as package.json. Change name-of-your-repo to the name of your GitHub repo
module.exports = {
publicPath: process.env.NODE_ENV === 'production'
? '/name-of-your-repo/'
: '/',
outputDir: "docs"