KevinMidboe / seasoned

seasoned 🌶 | Vue.js webUI for requesting new Movies and TV Shows
https://request.movie
MIT License
1 stars 0 forks source link

Better storing and loading of svg images #4

Closed KevinMidboe closed 2 years ago

KevinMidboe commented 5 years ago

Today all svg icons are stored as symbols within a large svg file in index.html. The symbols are injected into a svg using xlink:href on the id of the symbol.

KevinMidboe commented 5 years ago

Could create a component that injects symbols from an assets file that only contains the symbol xml. This would make it a bit more dynamic as they don't all need to be defined and loaded during launch.
But would loose the preview or drag-and-drop as there not stored as svg files.