Skip to content

Webpack import('./components/Err.vue') fail #7

Open
@buzzzzer

Description

@buzzzzer

main.ts

// its works ! 
import Err from '@/components/Err.vue';  

// instead of the line above fail
const Err = () => import('./components/Err.vue'); 

.....
.....

Err.vue with import Err from '@/components/Err.vue';
image

Err.vue with const Err = () => import('./components/Err.vue'); // fail
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions