Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(runtime-core): do not throw on unknown directives #6671

Merged
merged 1 commit into from
Nov 8, 2022

Commits on Oct 6, 2022

  1. fix(runtime-core): do not throw on unknown directives

    Fixes vuejs#6340
    
    This commit improves the case when a directive is not found in a template.
    As `resolveDirective` returns `undefined`, some code was failing with the following error:
    
    ```
    TypeError: Cannot read properties of undefined (reading 'deep')
    ```
    cexbrayat committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    de2c733 View commit details
    Browse the repository at this point in the history