Vue router的slot属性和Web Components原生slot属性冲突
粉丝福利 : 关注VUE中文社区公众号,回复视频领取粉丝福利
Web Components
As developers, we all know that reusing code as much as possible is a good idea. This has traditionally not been so easy for custom markup structures — think of the complex HTML (and associated style and script) you’ve sometimes had to write to…
使用Web Components注册的组件和Vue Router冲突,举例:
div的slot是my-button组件的插槽 而非router-link的,插槽冲突无法渲染出
有何解决办法??