Skip to content

v0.2.3

Choose a tag to compare

@ktsn ktsn released this 24 Aug 06:35
· 27 commits to master since this release
  • Add cloneNode helper
    Now, we can clone existing vnode in the context of apply

    import { apply } from 'vue-vnode-helper'
    import cloneNode from 'vue-vnode-helper/clone-node'
    
    export default {
      render (h) {
        return apply(h,
          cloneNode(this.$slots.default[0], { props: { value: 'foo' }}, ['children'])
        )
      }
    }