init
This commit is contained in:
11
public/frontend/layui-main/examples/extends/mod2.js
Executable file
11
public/frontend/layui-main/examples/extends/mod2.js
Executable file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
扩展模块,只依赖内置模块
|
||||
**/
|
||||
|
||||
layui.define(function(exports){
|
||||
console.log('mod2.js')
|
||||
|
||||
exports('mod2', {
|
||||
name: 'mod2'
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user