https://cdn.bootcss.com/require.js/2.3.6/require.min.js
加载文件js和css
require.config({
paths: {
layer:"layer",
validator:"validator.min"
},shim:{
layer:["css!layer.css"]
}
});
require(['layer',"validator"], function(layer,validator) {
})
作者:Yoby 创建时间:2020-07-25 16:58
更新时间:2024-12-05 13:26
更新时间:2024-12-05 13:26