Skip to content

AsyncComponent does not show errorComponent #2129

Closed
@wellrus

Description

@wellrus

Version

3.0.0-rc.11

Reproduction link

https://jsfiddle.net/4srq6c7a/

Steps to reproduce

run jsfiddle example

What is expected?

Display errorComponent if promise rejected.
'error' is visible.

What is actually happening?

errorComponent does not rendered
'loading' is visible.

Text from console:

"[Vue warn]: Unhandled error during execution of async component loader", "
", " at <AsyncComponentWrapper>", "
", " at <App>"

"Error: Async component timed out after 5000ms."

If an error occurs inside the loader, the result is similar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions