基于vue的组件库
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(){}
})
});