When importing the component on demand, the default componentPrefix does not work. #39
Closed
1 task done
Labels
type: question
Further information is requested
Basic Info
额外补充
I found that the name of the fully imported component used
componentPrefix
+Component.name
, but the name of the demand imported component only usedexport name
.预期结果
It can use
<a-button>
in<template>
.复现步骤
vite-plugin-import
plugin to imports component's style on demand.<script setup>
, such asimport { Button } from "@arco-design/web-vue"
, and then can't use<a-button>
in<template>
.The text was updated successfully, but these errors were encountered: