Gather.js:用于收集和导入 javascript 和 css 文件的 javascript 框架

时间:2021-07-04 07:33:43
【文件属性】:
文件名称:Gather.js:用于收集和导入 javascript 和 css 文件的 javascript 框架
文件大小:3KB
文件格式:ZIP
更新时间:2021-07-04 07:33:43
JavaScript 收集.js 用于收集和导入 javascript 和 css 文件的 javascript 框架 使用起来非常简单,只需包含一个脚本标签: < script type =" text/javascript " src =" https://cdn.rawgit.com/AdamByrne/Gather.js/master/bin/gather.js " > </ script > 要记住的方法只有两种: gather . import ( "js_file" , "js" ) ; // includes a javascript file in the body tag gather . import ( "css_file" , "css" ) ; // includes a css file in head tag gather . gather ( ) ; // logs
【文件预览】:
Gather.js-master
----example_files()
--------css_file.css(77B)
--------js_file.js(28B)
----example.html(359B)
----bin()
--------gather.js(1010B)
----LICENSE(1KB)
----README.md(584B)

网友评论