Skip to content

Latest commit

 

History

History
24 lines (10 loc) · 817 Bytes

File metadata and controls

24 lines (10 loc) · 817 Bytes

RequireJS

RequireJS官网
RequireJS Github

RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node. Using a modular script loader like RequireJS will improve the speed and quality of your code.

RequireJS是一个JavaScript文件和模块加载器。 它针对浏览器内使用进行了优化,但可以在其他JavaScript环境中使用,例如Rhino和Node。 使用像RequireJS这样的模块化脚本加载器将提高代码的速度和质量。

教程 https://www.runoob.com/w3cnote/requirejs-tutorial-2.html

示例参考 https://www.cnblogs.com/xing901022/p/4658548.html https://github.com/requirejs/example-multipage