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: crash on using nuxt-i18n properties in a component with i18n options #736

Merged
merged 1 commit into from
May 27, 2020

Commits on May 27, 2020

  1. fix: crash on using nuxt-i18n properties in a component with i18n opt…

    …ions
    
    When component specifies some VueI18n options using a plain i18n object
    in component options, VueI18n creates a separate component-local instance
    of itself. That instance wasn't extend with nuxt-i18n-specific properties
    that root instance has.
    
    Fix by adding an API in vue-i18n for handling that and use here.
    
    Resolves #557
    rchl committed May 27, 2020
    Configuration menu
    Copy the full SHA
    659f0aa View commit details
    Browse the repository at this point in the history