docs: update readme
This commit is contained in:
parent
2f8607fc96
commit
1355bd580d
13
readme.md
13
readme.md
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
一个简约的 vuepress 主题。
|
一个简约的 vuepress 主题。
|
||||||
|
|
||||||
开箱即用,仅需少量配置即可使用。
|
开箱即用,仅需少量配置即可使用,让您更专注于 内容的创作。
|
||||||
|
|
||||||
[](https://www.npmjs.com/package/vuepress-theme-plume)
|
[](https://www.npmjs.com/package/vuepress-theme-plume)
|
||||||
[](https://www.npmjs.com/package/vuepress-theme-plume)
|
[](https://www.npmjs.com/package/vuepress-theme-plume)
|
||||||
[](https://www.npmjs.com/package/vuepress-theme-plume)
|
[](https://www.npmjs.com/package/vuepress-theme-plume)
|
||||||

|

|
||||||
|
|
||||||
### [查看文档](https://pengzhanbo.cn/note/vuepress-theme-plume)
|
### [查看文档](https://pengzhanbo.cn/note/vuepress-theme-plume)
|
||||||
@ -14,11 +14,11 @@
|
|||||||
## Install
|
## Install
|
||||||
|
|
||||||
``` sh
|
``` sh
|
||||||
npm install vuepress@next vuepress-theme-plume
|
npm install vue vuepress@next vuepress-theme-plume
|
||||||
# or
|
# or
|
||||||
pnpm add vuepress@next vuepress-theme-plume
|
pnpm add vue vuepress@next vuepress-theme-plume
|
||||||
# or
|
# or
|
||||||
yarn add vuepress@next vuepress-theme-plume
|
yarn add vue vuepress@next vuepress-theme-plume
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@ -28,8 +28,9 @@ import { defineUserConfig } from 'vuepress'
|
|||||||
import { plumeTheme } from 'vuepress-theme-plume'
|
import { plumeTheme } from 'vuepress-theme-plume'
|
||||||
|
|
||||||
export default defineUserConfig({
|
export default defineUserConfig({
|
||||||
|
// vuepress config...
|
||||||
theme: plumeTheme({
|
theme: plumeTheme({
|
||||||
// theme config
|
// theme config...
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user