vue-vnode

0.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i vue-vnode

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

794 B

Total Files

3

Last publish

Collaborators

  • trickstival