Closed guoyunhe closed 2 years ago
In my project, I want to load SVG sprite in JS:
// sprite.js module.exports = `<svg>...</svg>`;
Is it possible to add this feature?
Thanks!
What is the use of this? Is it practical?
You could use Node fs to read the file and use it as string.
In my project, I want to load SVG sprite in JS:
Is it possible to add this feature?
Thanks!