Hey - an admin plugin for hexo
发布于 10 个月前 作者 nihgwu 873 次浏览 来自 分享

hexo-hey

an admin plugin for hexo, support hexo v3.x built with gulp + babel + webpack using es6 + angular + materail + jwt

Demo

http://hey.liteneo.com/admin username: hexo passowrd: hey

About

How to use

1. install hexo-hey

npm install nihgwu/hexo-hey --save

2. add a admin config section to _config.yml:

# Admin
admin:
    name: hexo
    password: hey
    secret: hey hexo
    expire: 60*1
    # cors: http://localhost:3000

cors is optional if you want serve your client in another place(CDN for example)

3. serve hexo

hexo serve

then visit http://localhost:4000/admin, and login with the account set in previous step

回到顶部