This repository was archived by the owner on May 29, 2025. It is now read-only.
本地部署生成的dist文件上传到githubpage后是空白页 #360
Unanswered
qipaifeiying
asked this question in
Q&A
Replies: 2 comments
-
哦哦,我大概知道了,githubpages只能托管静态网页,本网页的4版本之后都是动态网页,github不能托管 |
Beta Was this translation helpful? Give feedback.
0 replies
-
又遇到了新的问题,这个音乐播放器的API好像对酷狗的支持不太好啊,我用了酷狗的歌单ID,但是显示错误,我不知道怎么弄了,是我酷狗歌单id找错了吗?酷狗歌单id怎么获得呢? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
求教大佬。

我按照readme中的本地部署方法,将仓库克隆下来,执行以下命令
安装 pnpm
npm install -g pnpm
安装依赖
pnpm install
预览
pnpm dev
构建
pnpm build
本地预览的时候是正常的页面
将dist上传到github之后就成了空白页,然后我本地打开dist中的index.html也是空白的
index.html中的内容如下
这是为什么呢?本人前段知识浅薄,请大佬赐教
Beta Was this translation helpful? Give feedback.
All reactions