@min98/layui-custom
v1.0.2
Published
Classic modular Front-End UI library rebuild
Downloads
2
Maintainers
Readme
Layui is a collection of free and open source Web user interface component libraries. It uses its own lightweight module specifications and follows the original HTML/CSS/JavaScript
development model. It is easy to get started and can be used immediately. Its style is simple and understated but the interior elegance is rich, every detail, including the documentation, is carefully crafted, making it perfect for quickly building web interfaces. Layui is different from popular front-end frameworks, but it does not go against the trend and believes in going back to nature. To be more precise, it is aimed at pragmatic people who pursue simplicity, that is, there is no need to use many different construction tools, just face the browser itself and you can get the elements. elements and interactions that the page needs to present
Get started quickly
To use Layui, just add files to the page:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Quick Start - Layui</title>
<link href="./layui/css/layui.css" rel="stylesheet" />
</head>
<body>
<!-- HTML Content -->
<script src="./layui/layui.js"></script>
<script>
// Usage
layui.use(function () {
var layer = layui.layer;
// Welcome
layer.msg("Hello World", { icon: 6 });
});
</script>
</body>
</html>
Documents
Join the project
Open source license
Layui use MIT Published with permission. Other relevant agreements may also be consulted《Disclaimer》。