unplugin-vue-components
unplugin-vue-components copied to clipboard
Vue2 component :is
Describe the bug
我想用这个绑定图标,component用这个is 就无效 <ionicons4-IosAmericanFootball></ionicons4-IosAmericanFootball> 这样没什么问题,如果让component直接让解析器识别到,求大佬帮助
Reproduction
问题
System Info
npx envinfo --system --binaries --browsers
Used Package Manager
npm
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guide.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a minimal reproducible of the bug.
看看这个:https://github.com/antfu/unplugin-vue-components/issues/643#issuecomment-1588951920
You can't use dynamic components.