27f0d894
梁灏
update readme
|
1
2
3
4
5
|
<p align="center">
<a href="https://www.iviewui.com">
<img width="200" src="https://raw.githubusercontent.com/iview/iview/master/assets/logo.png">
</a>
</p>
|
c1cfacb2
梁灏
update readme
|
6
|
|
b6af9572
Aresn
add gitter.im
|
7
|
# iView [![](https://img.shields.io/travis/iview/iview.svg?style=flat-square)](https://travis-ci.org/iview/iview) [![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) [![Join the chat at https://gitter.im/iview/iview](https://badges.gitter.im/iview/iview.svg)](https://gitter.im/iview/iview?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
ecd50b8f
The Gitter Badger
Add Gitter badge
|
8
|
|
27f0d894
梁灏
update readme
|
9
|
### A high quality UI Components Library with Vue.js
|
c1cfacb2
梁灏
update readme
|
10
11
12
|
## Docs
|
9dde24b6
梁灏
add LoadingBar co...
|
13
|
### [中文文档](https://www.iviewui.com)
|
c1cfacb2
梁灏
update readme
|
14
|
|
27f0d894
梁灏
update readme
|
15
16
17
18
19
20
21
22
23
24
25
|
## Overview
### [组件概览(Component Overview)](https://www.iviewui.com/overview)
## Features
- Using .vue file development mode
- Based on npm + webpack + babel, support ES2015
- High quality and rich functions
- Friendly APIs,free and flexible
|
c1cfacb2
梁灏
update readme
|
26
27
28
29
|
## Programming
![iView](https://raw.githubusercontent.com/iview/iview/master/assets/iview.png)
|
27f0d894
梁灏
update readme
|
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
## Install
### Install vue-webpack project in the first place
Use [vue-vueRouter-webpack](https://github.com/icarusion/vue-vueRouter-webpack)(Recommended) Or [vue-cli](https://github.com/vuejs/vue-cli)
### Install iView
```bash
npm install iview --save
```
### Babel support for iView in webpack
```js
module: {
loaders: [
|
72493927
梁灏
fixed bug: Can no...
|
46
|
{ test: /iview.src.*?js$/, loader: 'babel' },
|
27f0d894
梁灏
update readme
|
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
{ test: /\.js$/, loader: 'babel', exclude: /node_modules/ }
]
}
```
## Usage
Use component as required
```html
<template>
<Page :current="1" :total="100"></Page>
</template>
<script>
import { Page } from 'iview';
export default {
components: { Page }
}
</script>
```
Use css
```js
import 'iview/dist/styles/iview.css';
```
## Browser Support
Normal browsers and Internet Explorer 9+.
## Links
- [Vue](https://github.com/vuejs/vue)
- [Webpack](https://github.com/webpack/webpack)
- [ionicons](https://github.com/driftyco/ionicons)
- [Ant Design](https://github.com/ant-design/ant-design)
|
6b62c0e0
Aresn
update readme
|
83
|
# We have been in developing, please pay attention to the iView.
|