javascript - How vue inherits all other properties and methods, as well as template
仅有的幸福
仅有的幸福 2017-05-19 10:46:10
0
3
690

The problem is that I now want to modify the specific component content in element, such as some styles, and then form my own component.
I have tried extends and mixins myself, but these only inherit the methods and some properties of the component, and cannot inherit things in the template.

有经验者求教~!
仅有的幸福
仅有的幸福

reply all(3)
Ty80

You can globally override the style of element components, and the internal logic of element components cannot be changed.

大家讲道理

Can’t the template be repeatedly extracted into components?

给我你的怀抱

How about nesting one level and creating a new component?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template