摘要: 阅读全文
posted @ 2020-04-21 17:25 Leophen 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 一、全局安装 Hexo $ npm install hexo-cli -g 二、初始化博客项目并安装依赖 $ hexo init blog$ cd blog$ npm install 三、运行博客项目 $ hexo server 也可以简写 $ hexo s 查看运行结果 → 访问:http://l 阅读全文
posted @ 2020-04-21 17:04 Leophen 阅读(481) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/cgi-bin/wx?token=&lang=zh_CN 阅读全文
posted @ 2020-04-21 01:22 Leophen 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 一、Koa 设置 Cookie ctx.cookies.set(name, value, [options]) 通过 options 设置 cookie name 的 value : maxAge 一个数字表示从 Date.now() 得到的毫秒数 signed cookie 签名值 expires 阅读全文
posted @ 2020-04-21 00:53 Leophen 阅读(3484) 评论(0) 推荐(0) 编辑