๐ ๏ธ Refactor: use vue-svg-loader for all SVG icons
Created by: diracs-delta
Motivation ๐
vue-svg-loader is currently being introduced in PR #83. It treats all SVG files as Vue components, and calls svgo in the build step to optimize all SVGs, greatly improving load times. This means cleaner code (no more disgusting 10-line long SVGs in the middle of Vue components) and faster load times for the end-user.
Describe your refactoring solution ๐ ๏ธ
- identify all SVG assets used (e.g. difficulty icons in #83, donation icons in #79)
- replace them all with separate SVG files and use
vue-svg-loaderin all component files
Edited by Arsala Grey