File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -414,10 +414,15 @@ export interface ComponentInternalInstance {
414
414
*/
415
415
inheritAttrs ?: boolean
416
416
/**
417
- * is custom element?
417
+ * Custom Element instance (if component is created by defineCustomElement)
418
418
* @internal
419
419
*/
420
420
ce ?: ComponentCustomElementInterface
421
+ /**
422
+ * is custom element? (kept only for compatibility)
423
+ * @internal
424
+ */
425
+ isCE ?: boolean
421
426
/**
422
427
* custom element specific HMR method
423
428
* @internal
Original file line number Diff line number Diff line change @@ -519,6 +519,7 @@ export class VueElement
519
519
vnode . ce = instance => {
520
520
this . _instance = instance
521
521
instance . ce = this
522
+ instance . isCE = true // for vue-i18n backwards compat
522
523
// HMR
523
524
if ( __DEV__ ) {
524
525
instance . ceReload = newStyles => {
You can’t perform that action at this time.
0 commit comments