0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-27 22:59:51 -05:00
verdaccio/website/translated_docs/zh-CN/web.md
2018-08-09 08:05:57 +02:00

28 lines
No EOL
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: webui
title: "网页用户界面2"
---
<p align="center"><img src="https://github.com/verdaccio/verdaccio/blob/master/assets/gif/verdaccio_big_30.gif?raw=true"></p>
Verdaccio有个网页用户界面它只显示私有包并可以定制。
```yaml
web:
enable: true
title: Verdaccio
logo: logo.png
scope:
```
所有访问限制定义为[保护包](protect-your-dependencies.md),它也将应用于网页界面。
### 配置
| 属性 | 类型 | 必填 | 范例 | 支持 | 描述 |
| ------ | ------- | -- | ------------------------------ | --- | --------------------------------------------------------------------- |
| enable | boolean | No | true/false | all | 允许显示网页界面 |
| title | string | No | Verdaccio | all | HTML 页眉标题说明 |
| logo | string | No | http://my.logo.domain/logo.png | all | logo 位于的URI |
| scope | string | No | \\@myscope | all | 如果要为特定模块作用域使用此registry请指定该作用域在webui指南页眉内设置它注释escape @ with \\@) |