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

[讨论] 对于微信小程序平台组件生成的一些想法 #1

Open
yangger6 opened this issue Nov 15, 2021 · 1 comment
Open
Labels

Comments

@yangger6
Copy link
Owner

yangger6 commented Nov 15, 2021

看了一晚上资料,暂时的解决方案:

  1. useExtendedLib方式引入组件,官方只支持kbone和weui,不支持第三方npm包
  2. 通过npm包引入,@icon-park/svg包在构建后直接4.6M了 = =
  3. 暂定的想法是通过用户在iconpark项目中生成的链接, 在用户项目中的components/iconpark/目录下生成各个icon的组件代码

不知道大佬们有没有更好的意见

@Kevin031
Copy link

能不能支持本地文件?因为有些项目是在内网使用的,无法访问到iconpark的远程地址

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

No branches or pull requests

2 participants