A simple directive to handle conditional render of any DOM element or Vue component
npm install vue-wrap-directive``shell`
npm install --save @nekoos/vue-wrap-directive
Register the directive
`js
import Vue from "vue"
import Wrap from "@nekoos/vue-wrap-directive"
Vue.use(Wrap);
`
`html`I am the content
When toogle is true, render this:`html`I am the content
When toogle is false, render this:`html``
I am the content