Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目提交到gitPages里面了,但是只显示APPLICATION CONTENT这样子 #18

Open
luckydingxia opened this issue Feb 15, 2017 · 2 comments

Comments

@luckydingxia
Copy link

你好mater,按照您在慕课网的react教程,终于完成最后一步,然后不曾想到这个是最大的问题啊……我按照您敲的代码 git subtree…… ,最后在我的gitPages上展示出错,只有APPLICATION CONTENT,这个是地址https://lucylucy-xia.github.io/my-gallery-by-react/;请问是什么原因?我谷歌了好久,也没有解决掉

@sijinglei
Copy link

和我的一样,是路径出错造成的,你现在好了吗?

@arronlai
Copy link

arronlai commented Apr 5, 2018

可以检查一下console的报错和network,应该是找不到assets/app.js造成的,我更改了一下index.html里的路径解决的。

<script type="text/javascript" src="assets/app.js"></script>

@sijinglei @lucylucy-xia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants