feat: 引入 unplugin-svg-component 插件代替 vite-plugin-svg-icons 插件 & elIcon 支持类型提示#220
Merged
pany-ang merged 4 commits intoun-pany:5.xfrom Dec 2, 2024
Merged
feat: 引入 unplugin-svg-component 插件代替 vite-plugin-svg-icons 插件 & elIcon 支持类型提示#220pany-ang merged 4 commits intoun-pany:5.xfrom
pany-ang merged 4 commits intoun-pany:5.xfrom
Conversation
Member
|
👍🏻 |
Member
|
你似乎没有执行 pnpm i |
Contributor
Author
执行了,只是 lock 文件我没上传 |
Member
为什么,我看你新增了依赖,应该要上传才对? |
Contributor
Author
那我上传一下吧,之前我一直都是忽略上传 lock 文件的 |
e8c1704 to
3650da4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
相比原 vite-plugin-svg-icons 方案的好处如下:
preserveColor配置,支持定义保留原有颜色 SVG 目录(适用于存放多色图标),原 vite-plugin-svg-icons 插件做不到这一点