File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -414,10 +414,15 @@ export interface ComponentInternalInstance {
414414 */
415415 inheritAttrs ?: boolean
416416 /**
417- * is custom element?
417+ * Custom Element instance (if component is created by defineCustomElement)
418418 * @internal
419419 */
420420 ce ?: ComponentCustomElementInterface
421+ /**
422+ * is custom element? (kept only for compatibility)
423+ * @internal
424+ */
425+ isCE ?: boolean
421426 /**
422427 * custom element specific HMR method
423428 * @internal
Original file line number Diff line number Diff line change @@ -519,6 +519,7 @@ export class VueElement
519519 vnode . ce = instance => {
520520 this . _instance = instance
521521 instance . ce = this
522+ instance . isCE = true // for vue-i18n backwards compat
522523 // HMR
523524 if ( __DEV__ ) {
524525 instance . ceReload = newStyles => {
You can’t perform that action at this time.
0 commit comments