loadash

如果在开发中要引用loadash插件,首先需要在config.json中的plugins中增加配置, 其次要在main.js或用户自己的创建的其他js文件中,引用该插件。

示例:

{
"develop":{
"html":"index.html",
"css":["./index.css"],
"entry":"./main.js",
"scripts":{
}
},
"plugins":["loadash"],
"libs":[],
"services":[],
"customAttributes":{
"pro":[
]
}
}
(function(options){
var _=window.plugins.loadash;
return {
$data:{
properties_:null
},
$methods:{
},
$hooks:{
onInit(properties_){
},
onDestroy(){
},
setData(data,datasourceInfo){
},
outSizeCallBack(info){
}
}
}
})