Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit 88a2025

Browse files
committed
fix: remove devtools from config
1 parent 31e10ab commit 88a2025

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/api/application-config.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,6 @@ const app = Vue.createApp({})
88
app.config = {...}
99
```
1010

11-
## devtools
12-
13-
- **类型**`boolean`
14-
15-
- **默认**`true` (在生产版本中是 `false`)
16-
17-
- **用法**
18-
19-
```js
20-
app.config.devtools = true
21-
```
22-
23-
配置是否允许 [vue devtools](https://github.com/vuejs/vue-devtools) 检查代码。开发版本默认为 `true`,生产版本默认为 `false`。生产版本设为 `true` 可以启用检查。
24-
2511
## errorHandler
2612

2713
- **类型**`Function`

0 commit comments

Comments
 (0)