npm install -g @vue/cli
npm install
npm run serve
npm run build
If any changes are made. You can redeploy by running the following locally.
That or run the deploy.sh
if you're on a Linux based machine.
npm run build
# Copy CNAME to dist directory.
cd dist
git init
git add -A
git commit -m 'deploy'
git push -f [email protected]:altmp/altv-hub-client.git master:gh-pages
Don't forget to go into settings and set the domain to https://hub.altv.mp/