[Vuejs]-Working with SVG icon files in vue cli 3 project

0👍

Creating a folder within the ‘src’ folder named ‘statics’ and putting all your svg and static files would work for you.
They can be easily used inside your components.
This worked for me.
Try this and let me know if this worked for you.
Following are the gist links to help you:
https://gist.github.com/ayushgupta11/3285d6e3ea3e541c1826ec367987bbbf
https://gist.github.com/ayushgupta11/2c9f954776bcbeab5099b843a79685fa

Leave a comment