mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
feat: add switch
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import Sample from '../packages/sample/index.js';
|
||||
import Button from '../packages/button/index.js';
|
||||
import Switch from '../packages/switch/index.js';
|
||||
import 'es6-promise/auto';
|
||||
import axios from 'axios';
|
||||
import foreach from 'lodash/foreach';
|
||||
@@ -14,6 +15,7 @@ const install = function(Vue) {
|
||||
|
||||
Vue.component(Sample.name, Sample);
|
||||
Vue.component(Button.name, Button);
|
||||
Vue.component(Switch.name, Switch);
|
||||
};
|
||||
|
||||
// auto install
|
||||
@@ -32,5 +34,6 @@ module.exports = {
|
||||
map
|
||||
},
|
||||
Sample,
|
||||
Button
|
||||
Button,
|
||||
Switch
|
||||
};
|
||||
|
Reference in New Issue
Block a user