You can download and install Node.js from https://nodejs.org/en/
npm install -g @vue/cli
# OR
yarn global add @vue/cli
yarn
yarn serve
-
On your master branch, run the terminal command:
yarn run build:github
. -
Commit and Push
We will need to change process.env.BASE_URL
when you build the bundle.
In addition, when refering files in public
folder, you will need to use baseUrl as well.
https://cli.vuejs.org/guide/html-and-static-assets.html#the-public-folder