vbenjs / vite-plugin-svg-icons

Vite Plugin for fast creating SVG sprites.
MIT License
819 stars 111 forks source link

How to enable svg DOM element generation with vite-ssr #26

Open imShara opened 2 years ago

imShara commented 2 years ago

I'm not sure that this is proper place for issue, but I think you can suggest something.

I'm using vite-plugin-svg-icons with vite-ssr and in SSR build mode there is no svg DOM element in dehydrated page.

Enabled JS

2021-11-08_01-24

Disabled JS

2021-11-08_01-25

anncwb commented 2 years ago

Can you give me a breed, currently ssr is not supported