Consider this is an svg file and the code looks like this. Use <template> tag and insert the content inside in it as shown below. Then save the file with .vue extension
Tag: svg
Add SVG images to the WordPress Media
WordPress support a number of image file types including .jpg, .jpeg, .png, and .gif . But it does not support SVG file format images to upload into the WordPress media by default . So what if we need to upload the SVG images into the WordPress. For this what we have to do is to add a PHP… Continue reading Add SVG images to the WordPress Media