# 一. 搭建文档
- yarn add -D vuepress # npm install -D vuepress
# 二. 引入主题
vuepress-theme-reco (opens new window)
- 为什么选择?
# 三. 引入插件
module.exports = {
theme: 'reco',
themeConfig: {
valineConfig: {
appId: '...',// your appId
appKey: '...', // your appKey
}
}
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
# 四. 快速食用
- 见本文档,详情见:valine 官网 (opens new window)