文件名称:grunt-pageres:捕获网站截图
文件大小:6KB
文件格式:ZIP
更新时间:2024-06-14 21:15:20
JavaScript
咕unt声 使用捕获网站截图 应该在pageres上打开。 安装 $ npm install --save-dev grunt-pageres Linux用户注意事项:如果您看到“没有可用的沙箱!” 错误,您需要启用。 用法 require ( 'load-grunt-tasks' ) ( grunt ) ; grunt . initConfig ( { pageres : { screenshot : { options : { urls : 'https://sindresorhus.com' , sizes : [ '1200x800' , '800x600' ] , dest : 'dist' } } , multipleUrls : { options : { urls : [
【文件预览】:
grunt-pageres-main
----.gitattributes(19B)
----.github()
--------workflows()
----gruntfile.js(699B)
----test.js(479B)
----tasks()
--------pageres.js(900B)
----license(1KB)
----.npmrc(19B)
----.editorconfig(175B)
----.gitignore(23B)
----readme.md(4KB)
----package.json(1KB)