Skip to content

weapp-vite / Resolver

接口: Resolver()

定义于: auto-import-components/resolvers/types.ts:3

Resolver(componentName, baseName): void | ResolvedValue

定义于: auto-import-components/resolvers/types.ts:4

参数

componentName

string

baseName

string

返回

void | ResolvedValue

属性

components?

optional components: Record<string, string>

定义于: auto-import-components/resolvers/types.ts:8

解析器静态可用的组件映射

Released under the MIT License.