neosrulez/inlinesvg

此包最新版本(0.1.2)没有提供许可信息。

一个Neos CMS节点类型,用于输出内联svg。

0.1.2 2021-03-02 15:24 UTC

This package is not auto-updated.

Last update: 2024-09-26 03:51:38 UTC


README

Neos CMS的一个包,用于渲染内联svg。

安装

NeosRulez.InlineSVG包已在Packagist上列出(https://packagist.org.cn/packages/neosrulez/inlinesvg)- 因此您不再需要在“repositories”条目中包含此包。

只需运行

composer require neosrulez/inlinesvg

作为融合组件的使用

<NeosRulez.InlineSVG:Component.SVGTag 
   image={asset} 
   identifier="yourUniqueIdentifier" 
   width="500" />

作者