mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
增加zan-layout
This commit is contained in:
@@ -22,6 +22,8 @@ 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';
|
||||
import Col from '../packages/col/index.js';
|
||||
import Row from '../packages/row/index.js';
|
||||
|
||||
const install = function(Vue) {
|
||||
if (install.installed) return;
|
||||
@@ -48,6 +50,8 @@ const install = function(Vue) {
|
||||
Vue.component(Search.name, Search);
|
||||
Vue.component(Step.name, Step);
|
||||
Vue.component(ImagePreview.name, ImagePreview);
|
||||
Vue.component(Col.name, Col);
|
||||
Vue.component(Row.name, Row);
|
||||
};
|
||||
|
||||
// auto install
|
||||
@@ -81,5 +85,7 @@ module.exports = {
|
||||
Badge,
|
||||
Search,
|
||||
Step,
|
||||
ImagePreview
|
||||
ImagePreview,
|
||||
Col,
|
||||
Row
|
||||
};
|
||||
|
Reference in New Issue
Block a user