Vue How To İmport Plugin Files
Im creating a vue js tailwind app for my current company and ı want to import svg files that ı have in my project but I think its not possible with default vue, I tried "vue-svg-loader" and didnt accomplish anything, is there any trick to do this?
1 Reply
I don't get what you need.
If you just want to show some svg in img tags, put the svgs in the public folder, where your index.html is located and the build folder created inside. better in a subfolder of it like /public/images
in vue template then just make <img src="/images/myfile.svg" alt="" />
Or do you want to edit the svgs?