vant-util.js 1.42 KB
import Vue from 'vue'

import {
	Search,
	Button,
	Swipe,
	SwipeItem,
	Lazyload,
	Tab,
	Tabs,
	Tag,
	Sticky,
	Popup,
	Tabbar,
	TabbarItem,
	Icon,
	Loading,
	Circle,
	CountDown,
	GoodsAction,
	GoodsActionIcon,
	GoodsActionButton,
	Divider,
	Rate,
	Field,
	Form,
	Area,
	RadioGroup,
	Radio,
	List,
	ImagePreview,
	Step,
	Steps,
	Skeleton,
	Toast,
	Dialog,
	Cell,
	CellGroup,
	AddressList,
	AddressEdit,
	Checkbox,
	CheckboxGroup,
	Stepper,
	Switch,
	Badge,
	Picker,
	DatetimePicker,
	Empty,
	Sidebar,
	SidebarItem,
	SubmitBar,
	IndexBar,
	IndexAnchor,
	Calendar,
	ActionSheet
} from 'vant';


import {
	Image as VanImage
} from 'vant';

Vue.use(Swipe).use(SwipeItem)
	.use(Search)
	.use(Button)
	.use(Lazyload)
	.use(Tab).use(Tabs)
	.use(Sticky)
	.use(Tag)
	.use(Popup)
	.use(Tabbar).use(TabbarItem)
	.use(VanImage)
	.use(Icon)
	.use(Loading)
	.use(Circle)
	.use(CountDown)
	.use(GoodsAction)
	.use(GoodsActionIcon)
	.use(GoodsActionButton)
	.use(Divider)
	.use(Rate)
	.use(Field)
	.use(Form)
	.use(Area)
	.use(Radio)
	.use(RadioGroup)
	.use(List)
	.use(ImagePreview)
	.use(Step)
	.use(Steps)
	.use(Skeleton)
	.use(Cell)
	.use(CellGroup)
	.use(Toast)
	.use(Dialog)
	.use(AddressList)
	.use(AddressEdit)
	.use(Checkbox)
	.use(CheckboxGroup)
	.use(Stepper)
	.use(Switch)
	.use(Badge)
	.use(Picker)
	.use(DatetimePicker)
	.use(Empty)
	.use(Sidebar)
	.use(SidebarItem)
	.use(IndexBar)
	.use(IndexAnchor)
	.use(ActionSheet)
	.use(Calendar)
	.use(SubmitBar);