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

use标签不继承父元素svg的宽高,图标显示不出来 #1

Open
gaojianghua opened this issue Jan 19, 2024 · 4 comments
Open

Comments

@gaojianghua
Copy link

image

@famanoder
Copy link
Contributor

方便把 svg 源码发我试一试吗

@gaojianghua
Copy link
Author

什么源码?我是照着你的文章一步步做的。
image

@gaojianghua
Copy link
Author

不过我是用的uniapp,这应该不影响吧

@gaojianghua
Copy link
Author

我知道了,import './config/svg-build/svg-sprite.js' 得在入口文件中引入执行这个svg打包的js文件,你的文章上没提到哦

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

2 participants