rhyzx / vue-transfer-dom

Transfer DOM to another place.
64 stars 21 forks source link

Attribute "v-transfer-dom" is ignored #5

Closed georgecoca closed 8 years ago

georgecoca commented 8 years ago

I get this warning when using this attribute on production. On local environment I don't see this warnings.

[Vue warn]: Attribute "v-transfer-dom" is ignored on component because the component is a fragment instance

I also tried to use it on a root element but then I get this:

v-transfer-dom="" cannot be used on an instance root element.

Image

rhyzx commented 8 years ago

Hi @geodeveloper did you checked this issue? https://github.com/rhyzx/vue-transfer-dom/issues/1, seems the same problem.

By the way, the latest vue-transfer-dom(1.1.0) require vue 1.0.19(not released yet) due to its' new API, if you use 1.1 you should downgrade to 1.0.x temporary.

georgecoca commented 8 years ago

I'm using 1.0.0. And I've tried to use it on root element but also fragment as you can see on console log. I'm not using v-if.

georgecoca commented 8 years ago

I installed last version 1.0.19 for vue and it seems the issue has been resolved.