import { EffectScope } from '@vue/composition-api' ; import { NuxtAppOptions } from '@nuxt/types/app' ; import { getContextProperty } from './helpers/getContextProperty' ; export const extendScopeContext = ( scope , app ) => { if ( scope . vm ) { scope . vm . interceptors = getContextProperty ( app , 'interceptors' ) ; scope . vm . i18n = getContextProperty ( app , 'i18n' ) ; scope . vm . routing = getContextProperty ( app , 'routing' ) ; scope . vm . magento = getContextProperty ( app , 'magento' ) ; } } ;