mirror of
https://gitee.com/layui/layui.git
synced 2025-10-15 18:55:04 +08:00
把预览例子迁移到 examples 目录
This commit is contained in:
8
examples/js/child/test.js
Normal file
8
examples/js/child/test.js
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
layui.define(function(exports){
|
||||
|
||||
exports('test', {
|
||||
title: '子目录模块加载'
|
||||
})
|
||||
});
|
8
examples/js/index.js
Normal file
8
examples/js/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
layui.define(function(exports){
|
||||
|
||||
exports('index', {
|
||||
title: '模块入口'
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user