vue-jxs-node
This is a vue component that can render html string or jsx by vnode or render function
install
To begin, you'll need to install vue-jsx-node
:
npm install vue-jsx-node --save
usage
To use vue-jsx-node
, first, you need regisiter it to Vue,
;; Vue;
then use it as a vue component:
<!-- render a jsx node --> this text will show when aJsxNode is falsy <!-- render a html string --> <!-- render a jsx node by render function --> default string