poppa/sveltekit-svg
SvelteKit plugin that makes it possible to import SVG files as Svelte components, inline SVG code or urls
TypeScriptMIT
Pinned issues
Issues
- 1
BUG: SVG component not resizing
#62 opened by moonlitgrace - 3
Uncaught (in promise) Error: this={...} of <svelte:component> should specify a Svelte component.
#61 opened by NubbDev - 1
svelte5 next.183 issues with passing props
#59 opened by sansjack - 8
Svelte 5 Support
#53 opened by jakeanq - 0
Trying to install it with the rc version `svelte@"^5.0.0-next.123"` seems to be failing with this error,
#57 opened by poppa - 7
This svg does not work when imported as component or src, but does when used used directly
#56 opened by jakubdonovan - 1
Fails to compile in Svelte 5: "Invalid compiler option: css: "none" is no longer a valid option"
#55 opened by walker-tx - 6
Error: Cannot find module '@rollup/pluginutils'
#54 opened by sntsris - 11
`?url` + SVGO?
#52 opened by aradalvand - 11
Svelte and TS errors when importing svgs
#25 opened by plitarko - 1
PSA: css selectors that target an imported `.svg` are considered `unused` and are pruned
#51 opened by ar-rm - 2
Not a valid SSR component
#50 opened by cristianvogel - 2
Get SVGSVGElement from generated component
#49 opened by capsey - 6
Sourcemap issues
#48 opened by drFerg - 7
Simplify library usage for common usage
#47 opened by jerrygreen - 4
`Error: Cannot find module 'svgo'`
#46 opened by jerrygreen - 3
- 6
Render the contents of the `<svg>` tag using `{@html}` in the component mode
#39 opened by aradalvand - 18
Error: <Btn_Next> is not a valid SSR component.
#33 opened by freeo - 2
- 4
- 1
Svelte 4 support
#36 opened by ShadiestGoat - 2
Support alternative datauri encodings
#32 opened by c6p - 7
- 2
Modify the SVG doesn't hot reload
#30 opened by Swoorup - 3
Use events on components
#29 opened by YummYume - 3
- 3
Conflict with Vite 4.0
#28 opened by tcherokee - 0
Rename global.d.ts to app.d.ts
#27 opened by vhscom - 1
Inlining as data url?
#26 opened by cornzz - 5
Is usage with a packaged library supported?
#23 opened by blindfish3 - 3
How to use SVG component in Jest?
#22 opened by pontakornth - 2
Library overriding gradient IDs to #a
#19 opened by yaeszlo - 11
- 1
Require statement not part of import statement
#15 opened by idChef - 1
Example for using svgOptions?
#14 opened by michaelrommel - 3
- 2
Plugin breaks on Vite 2.7.0.
#11 opened by james-camilleri - 9
Pass attributes to Svelte components
#5 opened by vabatta - 4
Import from static folder
#9 opened by DanielRios549 - 2
- 1