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图标,怎么使用,图标不显示 #5

Open
startblingbling opened this issue Dec 18, 2019 · 3 comments
Open

Comments

@startblingbling
Copy link

No description provided.

@startblingbling
Copy link
Author

解决了,把svg图片放入src/icons/svg ,还要在src/icons/components中编写ts文件,并在该目录下的index.ts中引入。

@cklwblove
Copy link
Owner

解决了,把svg图片放入src/icons/svg ,还要在src/icons/components中编写ts文件,并在该目录下的index.ts中引入。

你好~不需要自己去编写 ts 文件的,可以用 npm run svg 一键生成。

@startblingbling
Copy link
Author

好的,学习了,下次试试

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