arco-design-pro-vue icon indicating copy to clipboard operation
arco-design-pro-vue copied to clipboard

tsx中如何动态使用icon图标

Open herozzm opened this issue 1 year ago • 1 comments

Basic Info

What is expected?

能在tsx动态使用icon图标

Steps to reproduce

代码库是这样写的,但是无法使用 https://github.com/arco-design/arco-design-pro-vue/blob/23a21ceb939e1e2334e8c3b0f1f8a8049503ad9d/arco-design-pro-vite/src/components/menu/index.vue#L53

herozzm avatar Oct 16 '23 06:10 herozzm

同问,报了这个警告,Failed to resolve component: icon-dashboard If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement. 图标无法正常显示。

physicistgeng avatar Nov 10 '23 08:11 physicistgeng