mirror of
https://github.com/youzan/vant.git
synced 2025-12-19 01:02:29 +08:00
merge: master
This commit is contained in:
10
src/index.js
10
src/index.js
@@ -31,6 +31,8 @@ import Actionsheet from '../packages/actionsheet/index.js';
|
||||
import Quantity from '../packages/quantity/index.js';
|
||||
import Progress from '../packages/progress/index.js';
|
||||
import Uploader from '../packages/uploader/index.js';
|
||||
import Swipe from '../packages/swipe/index.js';
|
||||
import SwipeItem from '../packages/swipe-item/index.js';
|
||||
|
||||
const install = function(Vue) {
|
||||
if (install.installed) return;
|
||||
@@ -64,6 +66,8 @@ const install = function(Vue) {
|
||||
Vue.component(Quantity.name, Quantity);
|
||||
Vue.component(Progress.name, Progress);
|
||||
Vue.component(Uploader.name, Uploader);
|
||||
Vue.component(Swipe.name, Swipe);
|
||||
Vue.component(SwipeItem.name, SwipeItem);
|
||||
};
|
||||
|
||||
// auto install
|
||||
@@ -73,7 +77,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
||||
|
||||
module.exports = {
|
||||
install,
|
||||
version: '0.0.30',
|
||||
version: '0.0.31',
|
||||
Button,
|
||||
Switch,
|
||||
Field,
|
||||
@@ -106,5 +110,7 @@ module.exports = {
|
||||
Actionsheet,
|
||||
Quantity,
|
||||
Progress,
|
||||
Uploader
|
||||
Uploader,
|
||||
Swipe,
|
||||
SwipeItem
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user