require.js

require.js

作用:

1、实现js文件的异步加载,避免网页失去响应;

2、管理模块之间的依赖性,便于代码的编写和维护。

原文地址:https://www.cnblogs.com/SunlikeLWL/p/10542866.html