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

关于gal安装配置的一点建议 hexo-renderer-ejs 安装 #60

Open
HaxiSnake opened this issue May 7, 2019 · 2 comments
Open

关于gal安装配置的一点建议 hexo-renderer-ejs 安装 #60

HaxiSnake opened this issue May 7, 2019 · 2 comments

Comments

@HaxiSnake
Copy link

HaxiSnake commented May 7, 2019

首先跪谢大佬提供的主体模板!
下面是本人在配置过程中遇到的一点问题,一开始按照readme里面的步骤配置完依赖,运行hexo server 发现无法渲染出来,后来经过一番学习,发现在themes/gal/package.json下面有三个包:

"hexo-renderer-ejs": "*",
"hexo-renderer-stylus": "*",
"hexo-renderer-marked": "*"

将这三个包安装后才正常运行,所以希望您可以在readme当中加上hexo-renderer-ejs的安装步骤,防止后来人也遇到这个坑.

最后发现大佬续一秒的彩蛋,不愧为膜法师哈哈哈

@ZEROKISEKI
Copy link
Owner

我印象中这三个renderer包在hexo建站的过程中应该是默认安装的(主目录package.json的dependencies应该有),一般在主目录下npm install就会自动安装。

@HaxiSnake
Copy link
Author

原来是这样子呀,我的hexo可能出了点问题,学习了学习了,谢谢!

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

2 participants