Skip to content

Commit fe7452a

Browse files
committed
refactor: remove some details from comment
1 parent 6b0343c commit fe7452a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/create-instance/extend-extended-components.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,10 @@ function shouldExtend (component) {
3838
}
3939
}
4040

41-
// Components created with Vue.extend will not inherit from
42-
// a localVue constructor by default. To make sure they inherit
43-
// from a localVue constructor, we must create new components by
41+
// Components created with Vue.extend are not created internally in Vue
42+
// by extending a localVue constructor. To make sure they inherit
43+
// properties add to a localVue constructor, we must create new components by
4444
// extending the original extended components from the localVue constructor.
45-
// The registered original extended components should only be
46-
// overwritten in the component that they are registered on.
4745
// We apply a global mixin that overwrites the components original
4846
// components with the extended components when they are created.
4947
export function extendExtendedComponents (

0 commit comments

Comments
 (0)