Comments (1)
一直留意 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 文本的我,这是值得庆祝一下)
但是站点文件并没有时间,只是单纯的相关文章链接
再看 @Mister-Hope 已经把 sitemap 更新到 v2.0.0-alpha.8
如是自己也跟着更新
yarn add -D [email protected]
结果不错,有时间更新信息了,期待 hope 发布正式版本
之所以写的这么详细,是给那些同样从 hexo 转过来,却又不懂 vue 的朋友参考
from vuepress-theme-mix.
Related Issues (14)
- 修改代码块样式 HOT 4
- Collapsible HOT 2
- 关于侧边栏及自动侧边栏问题?
- 可否把 alt 属性同时也包含进图片链接里 HOT 5
- 优化滚动条显示样式,让多目录显示更友好 HOT 2
- Alignment issue of the code block. HOT 4
- 推广主题 HOT 1
- beta 最新版本的 vuepress 与当前插件的 ts 配置是不兼容的 HOT 3
- 似乎与最新版本的某个库不兼容 HOT 7
- 最新beta.50已经不兼容了 HOT 5
- 右边侧边栏可以单独抽出来放到v2版本的默认主题中吗 HOT 6
- 右侧侧边栏可以自定义depth么 HOT 1
- 转让仓库
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuepress-theme-mix.