mirror of https://github.com/layui/layui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
461 B
31 lines
461 B
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
<title>自定义模块 - layui</title>
|
|
|
|
<link rel="stylesheet" href="../src/css/layui.css">
|
|
|
|
<style>
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
|
|
|
|
<script src="../src/layui.js"></script>
|
|
<script>
|
|
layui.config({
|
|
base: './js/'
|
|
}).extend({
|
|
index: 'index'
|
|
,test: 'child/test'
|
|
}).use('test');
|
|
|
|
layui.use('index')
|
|
</script>
|
|
</body>
|
|
</html>
|