We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好:
之前使用 v1 时,我使用 vuepress-theme-hope 作为主题,自从发现 vuepress-theme-mix 后,深爱简洁及配色,然而主题没并有集成 sitemap
我尝试安装了 hope 写的 vuepress-plugin-sitemap2 ,其 build 构建后,并没有站点地图生成,由于本人只能看懂 html 标识文本,vue 实在是不懂,在此提交一个 lssues,希望作者能增加 sitemap 。
感谢!
The text was updated successfully, but these errors were encountered:
一直留意 hope 的 sitemap2 进度,也在思考为什么 v1 能成功,而 v2 却失败。
在对比了 vuepress 官方文档的插件对比,得出 sitemap 插件需要额外再配置 hostname 的结论,于是马上动手:
安装插件:
yarn add -D vuepress-plugin-sitemap2
配置插件:
module.exports = { plugins: [ [ 'vuepress-plugin-sitemap2', { hostname: 'https://hostname.com', }, ], ], }
执行 yarn docs:build 竟然能成功生成 sitemap 站点文件,庆祝!(作为只能看懂 html 文本的我,这是值得庆祝一下)
yarn docs:build
但是站点文件并没有时间,只是单纯的相关文章链接
再看 @Mister-Hope 已经把 sitemap 更新到 v2.0.0-alpha.8
如是自己也跟着更新
yarn add -D vuepress-plugin-sitemap2@v2.0.0-alpha.8
结果不错,有时间更新信息了,期待 hope 发布正式版本
之所以写的这么详细,是给那些同样从 hexo 转过来,却又不懂 vue 的朋友参考
Sorry, something went wrong.
No branches or pull requests
您好:
之前使用 v1 时,我使用 vuepress-theme-hope 作为主题,自从发现 vuepress-theme-mix 后,深爱简洁及配色,然而主题没并有集成 sitemap
我尝试安装了 hope 写的 vuepress-plugin-sitemap2 ,其 build 构建后,并没有站点地图生成,由于本人只能看懂 html 标识文本,vue 实在是不懂,在此提交一个 lssues,希望作者能增加 sitemap 。
感谢!
The text was updated successfully, but these errors were encountered: