S
S
Sector5672020-06-12 06:51:32
GitHub
Sector567, 2020-06-12 06:51:32

How to upload a vue project to GitHub Pages?

In the documentation https://cli.vuejs.org/ru/guide/deployment.html#git... everything stops at creating the deploy.sh file . I did so, but to no avail.
The third party website says to run this file with the bash deploy.sh command , but what if you have windows?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2020-06-12
@Sector567

but what if you have windows?

1. Do it manually in the console (like this):
npm run build
cd dist
git init
git add -A
git commit -m 'deploy'
git push

2. Install a Linux-based distribution, thereby simplifying your work (but this is not accurate)
3. Use WSL

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question