333
This commit is contained in:
parent
9c98886cc3
commit
f12e93cabb
|
|
@ -39,6 +39,17 @@ export default defineConfig({
|
|||
], // 指定组件目录
|
||||
extensions: ['vue'],
|
||||
dts: true, // 生成类型声明文件(可选)
|
||||
resolvers: [
|
||||
(name) => {
|
||||
if (name === 'uni-popup') { // 匹配 kebab-case 名称
|
||||
return {
|
||||
importName: 'uni-popup', // 组件文件实际导出的名称
|
||||
path: '@/components/uni-popup/components/uni-popup/uni-popup.vue', // 文件路径
|
||||
kebabCase: true
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}),
|
||||
],
|
||||
build: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user