53

前端模块化之AMD与CMD原理(附源码)

 5 years ago
source link: https://juejin.im/post/5c3592b26fb9a049aa6f4456
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. 前言 可能现在初入前端的同学们,都直接就上手webpack了,而在几年前,没有现在这些丰富的工具,还是jquery打天下的时候,不借助node或程序却让不同js文件之间互相引用、模块化开发,确实是一件痛苦的事情。。。 接下来会介绍两个有名的工具AMD(r

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK