The icon code copied in the TDesign document cannot be used. I don’t know which components are available in tdesign-icons-vue. Solution

I wanted to find an icon to search for today,
but I found that the real icon on tdesign’s official website is not very friendly.
insert image description here
There are a lot of icon codes directly imported through the tdesign-icons-vue package, and I can’t even find them.

In fact, it is very simple.
Most development tools can directly hold down Ctrl and click to enter the path here.
insert image description here
After entering these packages, we can press Ctrl and continue to look down, especially this global-config
insert image description here
so that we can know which icon components are in it. up
insert image description here

Guess you like

Origin blog.csdn.net/weixin_45966674/article/details/132712857