layui is a superset of independent components such as layer laydate; layui is a complete front-end framework, the same type of thing as Bootstrap; after the introduction of layui, the layer does not need to be introduced separately.
layer is still the representative work of layui. It is not accidental that she has a wide audience, but her persistence and perseverance over the past few years have transformed those disdainful eyes into the respect she deserves, constantly improving and Maintaining, continuously building and improving community services has spread word of mouth in the circle of web developers, and has become the most powerful driving force for layui today. At present, layer has become the most used web elastic layer component in China. GitHub naturally stars 5000, and the official website has a cumulative download volume of 500,000. About 300,000 web platforms of different sizes have used layer.
Related recommendations: "layui Framework Tutorial"
The reason why I list the above numbers is not to exaggerate, but everyone who understands layer knows that this is a What kind of difficult precipitation. Due to the special position of layer in the layui system, many people even mistakenly think that layui = layer ui, so it is emphasized again that layer is only an elastic layer module of layui. Due to its large user base, it is still regarded as independent components to maintain.
Layer is a module in layui, but layer can be used independently from layui.
You can understand layer as a plug-in, which can be used alone, and Xianxin integrated layer into layui as a module in the layui framework.
The above is the detailed content of The difference between layer and layui. For more information, please follow other related articles on the PHP Chinese website!