zanui vue config

This commit is contained in:
cookfront
2017-03-03 10:20:55 +08:00
parent 0e8b918f3e
commit 6e6c057ffd
11 changed files with 82 additions and 5 deletions
+4 -1
View File
@@ -21,6 +21,7 @@ import BadgeGroup from '../packages/badge-group/index.js';
import Badge from '../packages/badge/index.js';
import Search from '../packages/search/index.js';
import Step from '../packages/step/index.js';
import ImagePreview from '../packages/image-preview/index.js';
const install = function(Vue) {
if (install.installed) return;
@@ -46,6 +47,7 @@ const install = function(Vue) {
Vue.component(Badge.name, Badge);
Vue.component(Search.name, Search);
Vue.component(Step.name, Step);
Vue.component(ImagePreview.name, ImagePreview);
};
// auto install
@@ -78,5 +80,6 @@ module.exports = {
BadgeGroup,
Badge,
Search,
Step
Step,
ImagePreview
};