Skip to content

Latest commit

 

History

History
81 lines (64 loc) · 1.39 KB

File metadata and controls

81 lines (64 loc) · 1.39 KB

Vmui

基于vue的组件库

使用

feather2

feather2 install feather-components/vmui

编译vue的单文件组件

npm install feather2-parser-vue fis-parser-es6-babel --save

conf/conf.js

feather.config.set('project.fileType.js', 'vue');

feather.match('components/vmui/**.vue', {
    parser: ['vue', 'es6-babel']
});

feather.match('components/vmui/**.js', {
    parser: 'es6-babel'
});
require.async('vmui/actionsheet', function(ActionSheet){
    ActionSheet({
        'xxx': function(){}
    })
});

webpack

组件列表

指令