C
C
Comnox2021-07-07 12:04:11
git
Comnox, 2021-07-07 12:04:11

Deploying a VUE 3 app to GitHub Pages shows README.md?

Hello everyone, I ran into such a problem that after deploying the application to GitHub Pages everything is assembled correctly, but when I follow the link I see the README.md file, it
seems the algorithm is correct:
1) I create and go to the "gh-pages" branch
2) I create it at the root project file vue.config.js and specify
module.exports = {
publicPath: "/weatherForecastApp/"
}
3) I run the vue-cli-service build script and the dist folder is
built 4) push these changes to the branch and select settings data in pages
60e56df46fd45868442115.png
5 ) on the link ....github.io/WeatherForecastApp/ I get this
60e56dfe54dde206548549.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dolorementale, 2021-07-07
@dolorementale

You need sh script
https://cli.vuejs.org/ru/guide/deployment.html#git...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question