#4219·builder

Vue 3 [Vue warn]: Extraneous non-props attributes

Author: YouhanCreated Dec 19, 2025Updated Dec 19, 2025
WARN  [Vue warn]: Extraneous non-props attributes (attributes, lockAspectRatio, height, width) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes. at <BuilderImage>

Looks like for Image and other components the generated Vue components have <template> tag that does not contain single root element. and the $attrs are not handled correctly in that case.

Vue can pass through the $attr when the component has a single root element, but when there are more than on elements in the root the pass through of props does not happen and Vue warns about it.