【文件属性】:
文件名称:gatsby-plugin-pixelate:用于像素化图像的Gatsby插件
文件大小:84KB
文件格式:ZIP
更新时间:2021-02-06 00:15:31
plugin pixel-art gatsby PixelArtJavaScript
gatsby-plugin-pixelate
一个Gatsby插件,用于对图像进行像素化
安装
npm install gatsby-plugin-pixelate
如何使用
// in gatsby-config.js
module . exports = {
plugins : [
{
resolve : "gatsby-plugin-pixelate" ,
options : {
nodeType : "GoodreadsBook" ,
nodeInput : "image_url" ,
nodeOut
【文件预览】:
gatsby-plugin-pixelate-master
----.github()
--------workflows()
----.eslintrc.js(259B)
----images()
--------pixelated.png(2KB)
--------original.png(23KB)
----gatsby-node.js(591B)
----LICENSE(1KB)
----test()
--------gatsby-node.spec.js(2KB)
----README.md(2KB)
----.editorconfig(279B)
----.gitignore(13B)
----index.js(8B)
----package-lock.json(212KB)
----package.json(747B)