Commit acfbf610 authored by 杨奕's avatar 杨奕 Committed by GitHub

Chore: update docs for Input and Quickstart (#10106)

parent f234b161
......@@ -644,8 +644,8 @@ Search data from server-side.
| ----| ----| ----| ---- | ----- |
|type| type of input | string | text / textarea | text |
|value| binding value | string / number| — | — |
|maxlength| maximum Input text length| number| — | — |
|minlength| minimum Input text length| number | — | — |
|maxlength| same as `maxlength` in native input | number| — | — |
|minlength| same as `minlength` in native input | number | — | — |
|placeholder| placeholder of Input| string | — | — |
| clearable | whether to show clear button | boolean | — | false |
|disabled | whether Input is disabled | boolean | — | false |
......
......@@ -253,19 +253,7 @@ With the above config, the default size of all components that have size attribu
### Start coding
Now you have implemented Vue and Element to your project, and it's time to write your code. Start development mode:
```bash
npm run dev
```
Build:
```bash
npm run build
```
Please refer to each component's documentation to learn how to use them.
Now you have implemented Vue and Element to your project, and it's time to write your code. Please refer to each component's documentation to learn how to use them.
### Use Nuxt.js
......
......@@ -624,8 +624,8 @@ Búsqueda de datos desde el servidor.
| ------------- | ---------------------------------------- | ---------------- | -------------------------------- | ----------- |
| type | tipo de input | string | text / textarea | text |
| value | valor enlazado | string / number | — | — |
| maxlength | el maximo para el largo del texto | number | — | — |
| minlength | el mínimo para el largo del texto | number | — | — |
| maxlength | igual que `maxlength` en el input nativo | number | — | — |
| minlength | igual que `minlength` en el input nativo | number | — | — |
| placeholder | placeholder del Input | string | — | — |
| disabled | si esta deshabilitado | boolean | — | false |
| size | tamaño del input, esto no funciona cuando `type` no es textarea | string | medium / small / mini | — |
......
......@@ -252,19 +252,7 @@ Con la anterior configuración, el tamaño por defecto de todos los componentes
### Empiece ya!
Ahora ha incorporado Vue y Element a su proyecto y es el momento para comenzar a programar. Inicie el modo de desarrollo:
```bash
npm run dev
```
Build:
```bash
npm run build
```
Por favor, refiérase a la documentación de cada componente para aprender cómo usarlos.
Ahora ha incorporado Vue y Element a su proyecto y es el momento para comenzar a programar. Por favor, refiérase a la documentación de cada componente para aprender cómo usarlos.
### Use Nuxt.js
......
......@@ -800,8 +800,8 @@ export default {
|------------- |---------------- |---------------- |---------------------- |-------- |
| type | 类型 | string | text / textarea | text |
| value | 绑定值 | string / number | — | — |
| maxlength | 最大输入长度 | number | — | — |
| minlength | 最小输入长度 | number | — | — |
| maxlength | 原生属性,最大输入长度 | number | — | — |
| minlength | 原生属性,最小输入长度 | number | — | — |
| placeholder | 输入框占位文本 | string | — | — |
| clearable | 是否可清空 | boolean | — | false |
| disabled | 禁用 | boolean | — | false |
......
......@@ -253,19 +253,7 @@ Vue.use(Button);
### 开始使用
至此,一个基于 Vue 和 Element 的开发环境已经搭建完毕,现在就可以编写代码了。启动开发模式:
```bash
npm run dev
```
编译:
```bash
npm run build
```
各个组件的使用方法请参阅它们各自的文档。
至此,一个基于 Vue 和 Element 的开发环境已经搭建完毕,现在就可以编写代码了。各个组件的使用方法请参阅它们各自的文档。
### 使用 Nuxt.js
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment