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

hexo g没有生产css文件 #4

Open
Pudgedd opened this issue Dec 27, 2018 · 7 comments
Open

hexo g没有生产css文件 #4

Pudgedd opened this issue Dec 27, 2018 · 7 comments

Comments

@Pudgedd
Copy link

Pudgedd commented Dec 27, 2018

您好:使用这个theme的时候,hexo g没有生成任何css文件,hexo s的时候样式错乱。换其他的theme就可以了,请问有办法解决吗?十分感谢

@huweihuang
Copy link
Owner

@Pudgedd 目前没有遇到这个问题,你可以hexo clean,清除本地缓存,然后hexo g, hexo server尝试一下

@KylinMountain
Copy link

同样遇到了,Refused to apply style from 'http://localhost:4000/css/style.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

@KylinMountain
Copy link

看了一下,你这个似乎把整个hexo的东西都上传了,而不是theme本身。。。

@Pudgedd
Copy link
Author

Pudgedd commented Mar 17, 2019

@KylinGu 那是我的一个hexo分支,放的是所有hexo文件,做同步用的。master分支选择这个主题时无法产生css文件,换其他主题就OK了。我猜测是版本问题,不知道有没有人解决了

@Zhucong123
Copy link

同样遇到了加载不出css和js文件

1 similar comment
@lonbaw
Copy link

lonbaw commented Apr 29, 2019

同样遇到了加载不出css和js文件

@lonbaw
Copy link

lonbaw commented Apr 29, 2019

找到原因了,作者其实把整个hexo程序放在了该github 仓库内,而不单单是主题。
出现这个报错的原因是:我们clone之后,把它当成主题,放到了 theme目录下

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

5 participants