Renderless component
mrleblanc101 opened this issue · comments
Hi,
This should probably be a renderless component.
Because this add a <div>
this can break HTML semantics as <div>
is not a valid children for every element.
I will open a PR for this if you want.
I know v-if
is not possible on a <template>
element since template can't be root child so the only way is to use a render fonction instead of a SFC.
I've added this to #47. I could split in another PR if you prefer.
@stephenkr Could you check on this ?
Thank you @mrleblanc101 for contributing to the module.
Sorry i havent replied sooner, i'm not actively maintaining this module as much as before. I'll check it every few months.