svg-sprite-loader icon indicating copy to clipboard operation
svg-sprite-loader copied to clipboard

How can i use svg file in node_modules packages?

Open serveboy opened this issue 4 years ago • 1 comments

now my svg files is under my project src file. it goes right . can i delete it , and quote svg file in node_modules package? how to do ?

serveboy avatar Jan 02 '21 01:01 serveboy

i changed another project .and it does work. what i do : in main.js i import svg inside node_modules package . in vue.config.js ues svg-sprite-loader to pack path :node_modules/xxx/src/icons . am i right?

serveboy avatar Jan 02 '21 08:01 serveboy