34

从前端模块化编程切入想聊聊前端的未来(文末有我想问的问题)

 5 years ago
source link: https://juejin.im/post/5c82323ce51d453a5f22b281
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1. JavaScript模块化简述? 1.1 为什么需要模块化 没有模块化前的项目,常常在一个JS文件中会有很多功能的代码,这使得文件很大,分类性不强,自然而然不易维护; 那么我们将一个大的JS文件根据一定的规范拆分成几个小的文件的话将会便于管理,可以提

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK