Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否能够提供SVG路径导出功能? #858

Open
WankkoRee opened this issue Mar 10, 2023 · 0 comments
Open

是否能够提供SVG路径导出功能? #858

WankkoRee opened this issue Mar 10, 2023 · 0 comments

Comments

@WankkoRee
Copy link

WankkoRee commented Mar 10, 2023

需求是在ECharts中使用图标库,但是ECharts的图标引入方式比较奇怪:Documentation - Apache ECharts

大致有如下三种:

  • image://http(s)://...
  • image://data:image/...
  • path://...

@sicons提供的svg文件无法很好地配合第一种情况使用,因为路径拼接之后,打包工具不认。

所以希望能够提供一个导出svg路径为string的功能,以配合第三种情况使用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant