Alliot

Results 5 issues of Alliot

哈喽 非常感谢作者开源 在导入valine历史评论的过程中发现一个问题: 导入评论时必须指定 目标站点 URL 如 https://xxx.com 这样会让导入的那些评论的 page_key 字段自动拼接目标站点 URL 而如果前端 实例化时`pageKey` 为相对路径时,就没法正确的展示评论,必须手动去数据库将历史评论的 目标站点 URL 前缀去除。

类似这种大纲视图 ![image](https://user-images.githubusercontent.com/24980252/62452519-eec53f80-b7a2-11e9-9b6d-412375dd9c40.png)

feature

> 和 Vue 2 不同,Vue 2 的 beforeEach 是默认三个参数,第三个参数是 next,用来操作路由接下来的跳转。 但在新版本路由里,已经通过 RFC 将其删除,虽然目前还是作为可选参数使用,但以后不确定是否会移除,不建议继续使用,[点击查看原因](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0037-router-return-guards.md#motivation)。 新版本路由可以通过 return 来代替 next。 文档: https://github.com/vuejs/rfcs/blob/master/active-rfcs/0037-router-return-guards.md#motivation

## PR Checklist - [x] The changes have been tested (for bug fixes / features). - [x] [Docs](https://github.com/next-theme/theme-next-docs/tree/master/source/docs) in [NexT website](https://theme-next.js.org/docs/) have been added / updated (for features).(ref: https://github.com/next-theme/theme-next-docs/pull/131) ##...

Layout

related PR: https://github.com/next-theme/hexo-theme-next/pull/841