8000 [BUG]issue of ElementUiResolver, Failed to resolve import "element-ui/lib/image-viewer" · Issue #745 · unplugin/unplugin-vue-components · GitHub
[go: up one dir, main page]

Skip to content
[BUG]issue of ElementUiResolver, Failed to resolve import "element-ui/lib/image-viewer" #745
Open
@wangermaizi

Description

@wangermaizi

Clear and concise description of the problem

I'm having some issues with ElementUiResolver, When I want to import the image preview component el-image-viewer in element, it says that the import failed and the file cannot be found
using version is
"element-ui": "^2.15.14", "vue": "^2.7.16", "unplugin-vue-components": "^0.22.12", "vite": "5.1.4",
my import methods is
components: { 'el-image-viewer':()=>import('element-ui/packages/image/src/image-viewer.vue') },
image

Suggested solution

ElementUiResolver should be support el-image-viewer component

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0