Replies: 1 comment
-
不知道我的方案适不适用于你的情况, Components({
dts: true,
resolvers: [
(componentName: string) => {
if (componentName === 'VChart')
return 'vue-echarts'
},
],
}), |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
由于组件库没有按需导出所有组件,我想从它的目录按需导入,如何配置才能实现,例如以下写法
import SelfButton from '@self/component/button'
import SelfForm from '@self/component/form'
Reproduction
无
System Info
Used Package Manager
yarn
Validations
Beta Was this translation helpful? Give feedback.
All reactions