mayu-live / framework

Mayu is a live updating server-side component-based VDOM rendering framework written in Ruby
https://mayu.live
GNU Affero General Public License v3.0
135 stars 4 forks source link

SVG support #34

Closed aalin closed 1 year ago

aalin commented 1 year ago

It would be great if Resources::Types::Image supported SVGs... Or maybe it could be a separate resource type.

<svg>-tags are already supported, https://mayu.live/demos/svg

aalin commented 1 year ago

SVGs are now supported although the minifier still leaves unneccessary whitespace. If that becomes a problem it should be a different issue. Closing