Is there any way to define the parent element as optional based on a condition but always show its children in Vue.js?
For example:
You could use a combination of custom components and named slots to alleviate duplication of children, for example:
Or if the content you want to change is not too complex maybe you could look into using v-html