Skip to content

Commit bf0b43a

Browse files
committed
docs: @vuepress/plugin-i18n-ui
1 parent d8d5b5a commit bf0b43a

File tree

4 files changed

+55
-17
lines changed

4 files changed

+55
-17
lines changed

Diff for: packages/@vuepress/plugin-i18n-ui/README.md

-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
11
# @vuepress/plugin-i18n-ui
22

33
> i18n-ui plugin for vuepress
4-
5-
## Usage
6-
7-
```javascript
8-
module.exports = {
9-
plugins: ['@vuepress/i18n-ui']
10-
}
11-
```
12-
13-
## Options
14-
15-
### route
16-
17-
- Type: `string`
18-
- Default: `/i18n/`
19-
20-
Path to the i18n ui page.

Diff for: packages/docs/docs/.vuepress/config.js

+1
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ function getPluginSidebar (pluginTitle, pluginIntro, officialPluginTitle) {
131131
'official/plugin-blog',
132132
'official/plugin-pagination',
133133
'official/plugin-google-analytics',
134+
'official/plugin-i18n-ui',
134135
]
135136
}
136137
]

Diff for: packages/docs/docs/plugin/official/plugin-i18n-ui.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# @vuepress/plugin-i18n-ui
2+
3+
> i18n-ui plugin for vuepress
4+
5+
## Install
6+
7+
```bash
8+
yarn add -D @vuepress/plugin-i18n-ui
9+
# OR npm install -D @vuepress/plugin-i18n-ui
10+
```
11+
12+
## Usage
13+
14+
```javascript
15+
module.exports = {
16+
plugins: ['@vuepress/i18n-ui']
17+
}
18+
```
19+
20+
## Options
21+
22+
### route
23+
24+
- Type: `string`
25+
- Default: `/i18n/`
26+
27+
Path to the i18n ui page.
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# @vuepress/plugin-i18n-ui
2+
3+
> i18n-ui plugin for vuepress
4+
5+
## Install
6+
7+
```bash
8+
yarn add -D @vuepress/plugin-i18n-ui
9+
# OR npm install -D @vuepress/plugin-i18n-ui
10+
```
11+
12+
## Usage
13+
14+
```javascript
15+
module.exports = {
16+
plugins: ['@vuepress/i18n-ui']
17+
}
18+
```
19+
20+
## Options
21+
22+
### route
23+
24+
- Type: `string`
25+
- Default: `/i18n/`
26+
27+
Path to the i18n ui page.

0 commit comments

Comments
 (0)