mirror of
https://github.com/wahyd4/vuepress.git
synced 2026-08-21 11:15:52 +10:00
docs: @vuepress/plugin-blog
This commit is contained in:
@@ -1,31 +1,7 @@
|
||||
# @vuepress/plugin-blog
|
||||
|
||||
> theme plugin for vuepress
|
||||
> blog plugin for vuepress
|
||||
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
module.exports = {
|
||||
plugins: ['@vuepress/blog']
|
||||
}
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
### pageEnhancers
|
||||
|
||||
- Type: `function`
|
||||
- Default: `/i18n/`
|
||||
|
||||
### categoryIndexPageUrl
|
||||
|
||||
- Type: `string`
|
||||
- Default: `/category/`
|
||||
|
||||
### tagIndexPageUrl
|
||||
|
||||
- Type: `string`
|
||||
- Default: `/tag/`
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -127,7 +127,8 @@ function getPluginSidebar (pluginTitle, pluginIntro, officialPluginTitle) {
|
||||
collapsable: false,
|
||||
children: [
|
||||
'official/plugin-search',
|
||||
'official/plugin-pwa'
|
||||
'official/plugin-pwa',
|
||||
'official/plugin-blog',
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
# @vuepress/plugin-blog
|
||||
|
||||
> Blog plugin.
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
yarn add -D @vuepress/plugin-blog
|
||||
# OR npm install -D @vuepress/plugin-blog
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
module.exports = {
|
||||
plugins: ['@vuepress/blog']
|
||||
}
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
### categoryIndexPageUrl
|
||||
|
||||
- Type: `string`
|
||||
- Default: `/category/`
|
||||
|
||||
### tagIndexPageUrl
|
||||
|
||||
- Type: `string`
|
||||
- Default: `/tag/`
|
||||
@@ -0,0 +1,30 @@
|
||||
# @vuepress/plugin-blog
|
||||
|
||||
> Blog plugin.
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
yarn add -D @vuepress/plugin-blog
|
||||
# OR npm install -D @vuepress/plugin-blog
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
module.exports = {
|
||||
plugins: ['@vuepress/blog']
|
||||
}
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
### categoryIndexPageUrl
|
||||
|
||||
- Type: `string`
|
||||
- Default: `/category/`
|
||||
|
||||
### tagIndexPageUrl
|
||||
|
||||
- Type: `string`
|
||||
- Default: `/tag/`
|
||||
Reference in New Issue
Block a user