Alternatives to YepNope and LabJS

非 Y 不嫁゛ 提交于 2019-12-03 08:53:28

headjs has a lot of features and covers what you are asking for.

timDunham

I would throw require.js up for consideration. It will dynamically add script and css tags to the <head> so it works nicely asynchronously. It will also optimize all your js into one file so if you project is like mine you'll have dozens of js files in development (I think we have about 100) but only 1 for production.

The only thing I haven't got working yet is the optimization of the css files though apparently it has been done.

Good luck

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!