Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好的,
使用 requirejs 作为依赖注入器是否合适/正确?
是的。除了脚本加载之外,requirejs 的主要优点是解析应用程序的依赖树。它有很多不错的功能: