vue-vnode
v0.0.4
Published
A component that renders vnodes
Downloads
2
Readme
Vue VNode
Vue v-node is a simple component that gets a vnode and renders it
Usage
yarn add vue-vnode
# or
npm i --save vue-vnode
import VVNode from 'vue-vnode'
Vue.use(VVNode)
<template>
<v-node :vnode="$createElement('h2', `I'm working :D`)" />
</template>
Tip: you can also use it with JSX: https://github.com/vuejs/babel-plugin-transform-vue-jsx