From cc1a3a5d728c45c365c687e4bb5a2134aa7658fa Mon Sep 17 00:00:00 2001
From: lmhcoding <13265878974@163.com>
Date: Wed, 23 Sep 2020 22:05:57 +0800
Subject: [PATCH] feat: config vitepress
---
docs/state/useTitle.md | 60 +++++++-----------------------------------
1 file changed, 9 insertions(+), 51 deletions(-)
diff --git a/docs/state/useTitle.md b/docs/state/useTitle.md
index 6e6974a..e98f112 100644
--- a/docs/state/useTitle.md
+++ b/docs/state/useTitle.md
@@ -1,62 +1,20 @@
# ``useTitle``
---
-用于设置页面的标签页标题
+Composition Function that sets title of the page
-## API
-
-```typescript
-export declare function useTitle(
- title: string,
- restoreOnUnMount?: boolean
-): (title: string) => void;
-```
-
-## Params
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ---------------- | ------------------------ | ------- | ------ |
-| title | 标签页标题 | string | |
-| restoreOnUnMount | 组件卸载时是否恢复原标题 | boolean | false |
-
-## Methods
-
-该 Hook 返回以下函数:
-
-| 函数签名 | 描述 |
-| ------------------------ | ---------------- |
-| (title: string) => void | 用于设置页面标题 |
-
-## Example
-
-
-
-
-## Code
+## Usage
---
```vue
-
-
-
-
-
+