vue-svg-draw icon indicating copy to clipboard operation
vue-svg-draw copied to clipboard

file的路径问题

Open cc-doughnut opened this issue 5 years ago • 4 comments

请问file的路径写本地的路径 报错Cannot find the SVG in the loaded file 怎么解决

cc-doughnut avatar Aug 15 '19 10:08 cc-doughnut

同,请问这个绝对路径是从哪里开始的?目前我测试会报错的有:

  • /src/assets/xxx.svg
  • /assets/xxx.svg
  • @/assets/xxx.svg

Subilan avatar Apr 18 '20 13:04 Subilan

找到了对此的解释... Vivus 的这个对日期的选择方式似乎并不适合 Vue,试了一下里面的方法,会导致 CORS。已经放弃~ 如果有好的办法欢迎分享

我找到的解释: https://github.com/maxwellito/vivus/issues/222

Subilan avatar Apr 18 '20 15:04 Subilan

你好,一直报这个错,路径怎么写都不对,Cannot find the SVG in the loaded file : /svg/icon-star.svg

anearseeyou avatar Sep 11 '21 17:09 anearseeyou

想问一下,作者你的svg是怎么绘制出来的呢?我看大家评论,作者也不给回复哈~

anearseeyou avatar Sep 11 '21 17:09 anearseeyou