vite2+vue3+antdv3+ts项目报Failed to resolve component: AInput #5542
Answered
by
geeklibin
rainmanhhh
asked this question in
Q&A
-
如果不import,直接用AInput, AButton这种自带的别名,就报Failed to resolve component: AInput |
Beta Was this translation helpful? Give feedback.
Answered by
geeklibin
Apr 25, 2022
Replies: 1 comment
-
其实你可以使用插件 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rainmanhhh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
其实你可以使用插件
unplugin-vue-components
,无需在任何地方引入组件,直接在template里使用就好了