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

[Feature]: 支持构建离线的iconify图标 #372

Closed
honghuangdc opened this issue Mar 29, 2024 · 3 comments
Closed

[Feature]: 支持构建离线的iconify图标 #372

honghuangdc opened this issue Mar 29, 2024 · 3 comments

Comments

@honghuangdc
Copy link
Member

No description provided.

@honghuangdc honghuangdc changed the title [Feature]: 支持离线的iconif源、 [Feature]: 支持离线的iconify图标 Mar 29, 2024
@honghuangdc honghuangdc changed the title [Feature]: 支持离线的iconify图标 [Feature]: 支持构建离线的iconify图标 Mar 29, 2024
@honghuangdc
Copy link
Member Author

计划 v1.1 #364

@honghuangdc honghuangdc mentioned this issue Apr 24, 2024
9 tasks
@honghuangdc
Copy link
Member Author

目前对于一些内网环境,项目可以配置环境变量 VITE_ICONIFY_URL ,表示内网环境 @iconify/icon 的资源获取地址
经探索,@iconify/json的全部json文件大小有300多兆,离线构建会大大影响产物的大小。如果想按需构建json,是一个不错的想法,但是在线想使用任意的图标集还是没法实现,因此,这个功能暂不实现,对于按需加载json,会提供文档说明,手动调用@iconify/vue提供的addCollection添加指定图标集即可。

@honghuangdc
Copy link
Member Author

计划 soybeanjs/soybean-admin-docs#55

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