admin管理员组文章数量:1392892
I've looked up similar questions but that didn't help me. So I followed this tutorial and have made all tweaks described there.
My repo here
Application should be available here (but it doesn't) /
I am doing deploy with npm script: npm run deploy
and looks like everything works fine, no errors. If you check gh-pages branch it filled correctly. But when I am trying to access URL / it gives me index.html from source code (containing link to jsx file) and I have no idea why it's happening!
Thanks in advance!
I've looked up similar questions but that didn't help me. So I followed this tutorial https://www.youtube/watch?v=hn1IkJk24ow and have made all tweaks described there.
My repo here https://github/painkkiller/zscore
Application should be available here (but it doesn't) https://painkkiller.github.io/zscore/
I am doing deploy with npm script: npm run deploy
and looks like everything works fine, no errors. If you check gh-pages branch https://github/painkkiller/zscore/tree/gh-pages it filled correctly. But when I am trying to access URL https://painkkiller.github.io/zscore/ it gives me index.html from source code (containing link to jsx file) and I have no idea why it's happening!
Thanks in advance!
1 Answer
Reset to default 0I've found the source of error. With this configuration you should have deploy from gh-pages branch:
本文标签: reactjsVitereact application unable to deploy to github pagesStack Overflow
版权声明:本文标题:reactjs - Vite + react application: unable to deploy to github pages - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744789995a2625231.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论