-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.js
61 lines (58 loc) · 1.71 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import Icon from './src/basic/icon/index.js'
import Button from './src/basic/button/index.js'
import Group from './src/basic/group/index.js'
import Switch from './src/form/switch/index.js'
import Input from './src/form/input/index.js'
import Radio from './src/form/radio/index.js'
import Cascader from './src/form/cascader/index.js'
import DatePicker from './src/form/datepicker/index.js'
import TimePicker from './src/form/timepicker/index.js'
import Grid from './src/layout/grid/index.js'
import Container from './src/layout/container/index.js'
import Collapse from './src/layout/collapse/index.js'
import Waterfall from './src/layout/waterfall/index.js'
import Sticky from './src/navigation/sticky/index.js'
import Tabs from './src/navigation/tabs/index.js'
import Menu from './src/navigation/menu/index.js'
import Pager from './src/navigation/pager/index.js'
import Loading from './src/navigation/loading/index.js'
import Popover from './src/viewport/popover/index.js'
import Message from './src/viewport/message/index.js'
import Slides from './src/viewport/slides/index.js'
import Table from './src/viewport/table/index.js'
import Spread from './src/others/spread/index.js'
import Spin from './src/others/spin/index.js'
import Formator from './src/others/formator/index.js'
const components = [
Icon,
Button,
Group,
Switch,
Input,
Radio,
Cascader,
Grid,
Container,
DatePicker,
TimePicker,
Collapse,
Waterfall,
Sticky,
Tabs,
Pager,
Menu,
Popover,
Slides,
Table,
Spread,
Spin
]
const install = Vue => {
components.forEach(component => {
component.install(Vue)
})
Vue.use(Message)
Vue.use(Loading)
}
export { Message, Loading, Formator }
export default { install, Loading, Message, Formator }