Skip to content

Commit c8897b4

Browse files
committed
docs(plugin-nprogress): add plugin reference
1 parent b5675cd commit c8897b4

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

docs/reference/plugin/nprogress.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
# nprogress
22

3-
> TODO
3+
> @vuepress/plugin-nprogress
4+
5+
Integrate [nprogress](https://github.com/rstacruz/nprogress) into VuePress, which can provide a progress bar when navigating to another page.
6+
7+
## Styles
8+
9+
You can customize the style of the progress bar via CSS variables:
10+
11+
```css
12+
:root {
13+
--nprogress-color: #29d;
14+
}
15+
```

docs/zh/reference/plugin/nprogress.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
# nprogress
22

3-
> TODO
3+
> @vuepress/plugin-nprogress
4+
5+
[nprogress](https://github.com/rstacruz/nprogress) 集成到 VuePress 中,在切换到另一个页面时会展示进度条。
6+
7+
## 样式
8+
9+
你可以通过 CSS 变量来自定义进度条的样式:
10+
11+
```css
12+
:root {
13+
--nprogress-color: #29d;
14+
}
15+
```

0 commit comments

Comments
 (0)