Blame view

README.md 6.51 KB
27f0d894   梁灏   update readme
1
2
  <p align="center">
      <a href="https://www.iviewui.com">
d9cbf61e   Aresn   Update README.md
3
          <img width="200" src="https://file.iviewui.com/logo-new.svg">
27f0d894   梁灏   update readme
4
5
      </a>
  </p>
c1cfacb2   梁灏   update readme
6
  
1d5e9fc3   Sergio Crisostomo   README updates
7
8
  # iView
  [![](https://img.shields.io/travis/iview/iview.svg?style=flat-square)](https://travis-ci.org/iview/iview)
25177f5a   Aresn   Update README.md
9
10
11
12
13
14
  [![iView](https://img.shields.io/npm/v/iview.svg?style=flat-square)](https://www.npmjs.org/package/iview)
  [![NPM downloads](http://img.shields.io/npm/dm/iview.svg?style=flat-square)](https://npmjs.org/package/iview)
  [![NPM downloads](https://img.shields.io/npm/dt/iview.svg?style=flat-square)](https://npmjs.org/package/iview)
  ![JS gzip size](http://img.badgesize.io/https://unpkg.com/iview/dist/iview.min.js?compression=gzip&label=gzip%20size:%20JS&style=flat-square)
  ![CSS gzip size](http://img.badgesize.io/https://unpkg.com/iview/dist/styles/iview.css?compression=gzip&label=gzip%20size:%20CSS&style=flat-square)
  [![Join the chat at https://gitter.im/iview/iview](https://img.shields.io/badge/chat-on_gitter-30b392.svg?style=flat-square)](https://gitter.im/iview/iview?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
e4c90174   jess   setup Open Collec...
15
16
  [![Backers on Open Collective](https://opencollective.com/iview/backers/badge.svg)](#backers)
  [![Sponsors on Open Collective](https://opencollective.com/iview/sponsors/badge.svg)](#sponsors) 
ecd50b8f   The Gitter Badger   Add Gitter badge
17
  
692be62c   md678685   Fix some English ...
18
  ### A high quality UI Toolkit built on Vue.js.
c1cfacb2   梁灏   update readme
19
  
692be62c   md678685   Fix some English ...
20
  > This branch is for Vue.js 2.x.
b13ae9c5   梁灏   update readme
21
  >
692be62c   md678685   Fix some English ...
22
  > The branch for Vue.js 1.x can be found [here](https://github.com/iview/iview/tree/master).
1cc06612   Rijn   updated README
23
  
c1cfacb2   梁灏   update readme
24
25
  ## Docs
  
5c2f982e   Aresn   update readme
26
  ### [English (2.0)](https://www.iviewui.com)
c4d36b0a   Aresn   update readme
27
  ### [中文文档 (2.0)](https://www.iviewui.com)
1d5e9fc3   Sergio Crisostomo   README updates
28
  [中文文档 (1.0)](http://v1.iviewui.com)
c1cfacb2   梁灏   update readme
29
  
27f0d894   梁灏   update readme
30
31
  ## Overview
  
fded311f   梁灏   update readme
32
  ### [Component Overview](https://www.iviewui.com/overview)
27f0d894   梁灏   update readme
33
34
35
  
  ## Features
  
fded311f   梁灏   update readme
36
  - Dozens of useful and beautiful components.
692be62c   md678685   Fix some English ...
37
  - Friendly API. It's made for people with any skill level.
1d5e9fc3   Sergio Crisostomo   README updates
38
  - Extensive documentation and demos.
68f50634   梁灏   update readme
39
  - It is quite beautiful.
692be62c   md678685   Fix some English ...
40
  - Supports both Vue.js 2 and Vue.js 1.
27f0d894   梁灏   update readme
41
  
d44e817e   梁灏   update Readme
42
43
44
  ## Who's using iView
  
  - [TalkingData](http://www.talkingdata.com/)
0bb43097   梁灏   update Readme
45
46
47
48
49
50
51
52
  - [Alibaba 阿里巴巴](http://www.alibaba.com/)
  - [Baidu 百度](https://www.baidu.com/)
  - [Tencent 腾讯](https://www.tencent.com/)
  - [Toutiao 今日头条](https://www.toutiao.com/)
  - [JD 京东](http://www.jd.com/)
  - [DiDi 滴滴](http://www.didichuxing.com/)
  - [Meituan 美团](http://www.meituan.com/)
  - [Sina 新浪](http://www.sina.com.cn/)
d44e817e   梁灏   update Readme
53
54
55
  
  > If your company or products use iView, welcome to click [here](https://github.com/iview/iview/issues/2143) to leave a message.
  
27f0d894   梁灏   update readme
56
57
  ## Install
  
692be62c   md678685   Fix some English ...
58
  > Please install Webpack first!
27f0d894   梁灏   update readme
59
  
692be62c   md678685   Fix some English ...
60
  We recommend you create your project through [iView Cli](https://github.com/iview/iview-cli) or [iview-project](https://github.com/iview/iview-project). You can also use [vue-cli](https://github.com/vuejs/vue-cli).
27f0d894   梁灏   update readme
61
62
63
  
  ### Install iView
  
692be62c   md678685   Fix some English ...
64
  Using npm:
2218620b   Aresn   Update README.md
65
  ```
27f0d894   梁灏   update readme
66
  npm install iview --save
2218620b   Aresn   Update README.md
67
  ```
692be62c   md678685   Fix some English ...
68
69
  
  Using a script tag for global use:
1d5e9fc3   Sergio Crisostomo   README updates
70
  
d270488b   梁灏   update readme
71
  ```html
e48950bd   梁灏   update readme
72
  <script type="text/javascript" src="iview.min.js"></script>
1d5e9fc3   Sergio Crisostomo   README updates
73
  <link rel="stylesheet" href="dist/styles/iview.css">
27f0d894   梁灏   update readme
74
75
  ```
  
692be62c   md678685   Fix some English ...
76
  You can find more info [on the website](https://www.iviewui.com/docs/guide/install-en).
1d5e9fc3   Sergio Crisostomo   README updates
77
  
27f0d894   梁灏   update readme
78
79
  ## Usage
  
8fc450f5   梁灏   update readme
80
  ```vue
27f0d894   梁灏   update readme
81
  <template>
8fc450f5   梁灏   update readme
82
      <Slider v-model="value" range />
27f0d894   梁灏   update readme
83
84
  </template>
  <script>
27f0d894   梁灏   update readme
85
      export default {
e48950bd   梁灏   update readme
86
87
88
89
90
          data () {
              return {
                  value: [20, 50]
              }
          }
27f0d894   梁灏   update readme
91
92
93
      }
  </script>
  ```
1d5e9fc3   Sergio Crisostomo   README updates
94
95
96
  
  Using css via `import`:
  
27f0d894   梁灏   update readme
97
98
99
100
  ```js
  import 'iview/dist/styles/iview.css';
  ```
  
fded311f   梁灏   update readme
101
102
  ## Compatibility
  
692be62c   md678685   Fix some English ...
103
104
105
106
107
108
  - Supports Vue.js 2.x
  - Supports Vue.js 1.x - [visit 1.0 docs](http://v1.iviewui.com/)
  - Supports SSR
  - Supports [Nuxt.js](https://nuxtjs.org/)
  - Supports [Electron](http://electron.atom.io/)
  - iView does not support IE8 or below since [Vue.js](https://vuejs.org/v2/guide/reactivity.html) uses `Object.defineProperty` to track changes which is not supported by these browsers.
27f0d894   梁灏   update readme
109
  
1d5e9fc3   Sergio Crisostomo   README updates
110
111
  ## Community
  
692be62c   md678685   Fix some English ...
112
  If you want to contribute or have questions or bugs to report:
1d5e9fc3   Sergio Crisostomo   README updates
113
  
692be62c   md678685   Fix some English ...
114
115
116
  **Questions:** Find other users at the [Gitter chat](https://gitter.im/iview/iview) or post on [StackOverflow using `[iview-ui]` tag](https://stackoverflow.com/questions/tagged/iview-ui)  
  **Bugs:** [File a issue here](https://github.com/iview/iview/issues) - please provide a example so we can help you better  
  **Contribute:** Contact us in [Gitter chat](https://gitter.im/iview/iview), WeChat or via mail to `admin@aresn.com`. PRs welcome!
27f0d894   梁灏   update readme
117
  
c9080021   梁灏   update readme
118
  ## Major Contributors
55be6f6a   Aresn   Update README.md
119
120
121
122
  |Name|Avatar|Name|Avatar|Name|Avatar|
  |---|---|---|---|---|---|
  |[Aresn](https://github.com/icarusion) |  ![](https://avatars3.githubusercontent.com/u/5370542?v=3&s=60)  |[jingsam](https://github.com/jingsam) |  ![](https://avatars3.githubusercontent.com/u/1522494?v=3&s=60)  | [rijn](https://github.com/rijn)       |  ![](https://avatars2.githubusercontent.com/u/6976367?v=3&s=60)  |
  |[lcx960324](https://github.com/lcx960324)           |  ![](https://avatars3.githubusercontent.com/u/9768245?v=3&s=60)  |[GITleonine1989](https://github.com/GITleonine1989) |  ![](https://avatars1.githubusercontent.com/u/7582490?v=3&s=60)  |[huixisheng](https://github.com/huixisheng)         |  ![](https://avatars1.githubusercontent.com/u/1518967?v=3&s=60)  |
d45d2ee0   Aresn   Update README.md
123
124
  |[Sergio Crisostomo](https://github.com/SergioCrisostomo)           |  ![](https://avatars3.githubusercontent.com/u/5614559?v=3&s=60)  |  [lison16](https://github.com/lison16)           |  ![](https://avatars3.githubusercontent.com/u/20942571?v=3&s=60) |  [Xotic750](https://github.com/Xotic750)    | ![](https://avatars3.githubusercontent.com/u/216041?v=3&s=60)   | 
  [huanghong1125](https://github.com/huanghong1125) | ![](https://avatars3.githubusercontent.com/u/12794817?v=3&s=60) |
c9080021   梁灏   update readme
125
  
e4c90174   jess   setup Open Collec...
126
127
128
129
130
131
132
133
  ### All Contributors
  
  This project exists thanks to all the people who contribute. 
  <a href="graphs/contributors"><img src="https://opencollective.com/iview/contributors.svg?width=890&button=false" /></a>
  
  ### Backers
  Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/iview#backer)]
  
1902505a   Aresn   Update README.md
134
  <a href="https://opencollective.com/iview#backers" target="_blank"><img src="https://opencollective.com/iview/backers.svg?width=890"></a>
e4c90174   jess   setup Open Collec...
135
136
137
138
139
140
141
142
  
  ### Sponsors
  
  Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/iview#sponsor)]
  
  <a href="https://opencollective.com/iview/sponsor/0/website" target="_blank"><img src="https://opencollective.com/iview/sponsor/0/avatar.svg"></a>
  
  
d270488b   梁灏   update readme
143
  
3dc7ac4f   梁灏   update readme
144
  ## Ecosystem Links
27f0d894   梁灏   update readme
145
  
3dc7ac4f   梁灏   update readme
146
147
148
149
150
  - [iView-Admin](https://github.com/iview/iview-admin)
  - [iView-Doc](https://github.com/iview/iview-doc)
  - [iView-Cli](https://github.com/iview/iview-cli)
  - [iView-Loader](https://github.com/iview/iview-loader)
  - [iView-Area](https://github.com/iview/iview-area)
644c37b3   梁灏   update License
151
  
62a40f4f   梁灏   LICENSE add ionicons
152
153
154
  ## License
  [MIT](http://opensource.org/licenses/MIT)
  
8be3ad5f   EyreFreeᵈᵉᵛ   Change gitter bad...
155
  Copyright (c) 2016-present, iView