Closed dinghmcn closed 7 years ago
And what show browser console? If 404 then need to reconfigure url
and root
path in Hexo config.
Try to use standart Hexo theme, is there errors too?
我刚也有这个问题,样式显示不出,然后把 font enable 关了就恢复正常了
重新创建hexo init blog就可以了,应该是我的hexo目录有问题,感谢大家回复。
I agree and want to create new issue
Expected behavior
能正常使用
Actual behavior
Steps to reproduce the behavior
NexT Information
NexT Version:
NexT Scheme:
Other Information
错误日志: 16:18:14.511 DEBUG Generator: asset 16:18:14.520 INFO Hexo is running at http://localhost:4000/. Press Ctrl+C to stop. 16:18:14.527 DEBUG Database saved 16:18:18.589 DEBUG Rendering index: index.html GET / 200 84.027 ms - - GET /css/main.css?v=5.1.2 404 4.637 ms - - GET /lib/fancybox/source/jquery.fancybox.css?v=2.1.5 200 7.384 ms - - GET /lib/font-awesome/css/font-awesome.min.css?v=4.6.2 200 6.697 ms - -
public/css/ 下只有 main.styl ~:cat public/css/main.styl // CSS Style Guide: http://codeguide.co/#css
$scheme = hexo-config('scheme') ? hexo-config('scheme') : 'Muse'; $variables = base $scheme custom; $mixins = base $scheme custom;
// Variables Layer // -------------------------------------------------- for $variable in $variables @import "_variables/" + $variable
// Mixins Layer // -------------------------------------------------- for $mixin in $mixins @import "_mixins/" + $mixin;
// Common Layer // --------------------------------------------------
// Scaffolding @import "_common/scaffolding";
// Layout @import "_common/outline";
// Components @import "_common/components";
// Schemes Layer // -------------------------------------------------- @import "_schemes/" + $scheme;
// Custom Layer // -------------------------------------------------- @import "_custom/custom";