ngVue / ngVue

Use Vue2 components in Angular 1.x

Repository from Github https://github.comngVue/ngVueRepository from Github https://github.comngVue/ngVue

slot-scope support for ngVue component

talberkoSB opened this issue · comments

Hi.
Is the slot-scope is supported?

this.$scopedSlots.default({ msg: "hello" })

default is not a function...

Nope. ngVue (kind of) supports slots within <vue-component> but that's all. For example :

<vue-component name="Hello">
  <span>{{ user.name }} </span>
</vue-component>

should work, but I would not recommend using it. There are several situations where it doesn't work at all. This is very experimental, I'm thinking about flagging this feature as deprecated.