fe-interview icon indicating copy to clipboard operation
fe-interview copied to clipboard

[vue] 你有使用过动态组件吗?说说你对它的理解

Open haizhilin2013 opened this issue 7 years ago • 3 comments

[vue] 你有使用过动态组件吗?说说你对它的理解

haizhilin2013 avatar Jun 22 '19 20:06 haizhilin2013

component, vue的内置组件, 说实话, 如果不是特殊场景不要去使用, 容易使人混乱 详见: vue component

wenyejie avatar Jun 27 '19 02:06 wenyejie

通过 Vue 的 元素加一个特殊的 is 特性来实现

censek avatar Oct 30 '19 06:10 censek

通过Vue内置组件 <component></component> 的 is 属性控制不同组件的渲染

space-tu avatar Apr 07 '21 09:04 space-tu