-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Description
How to achive this?
http://jsfiddle.net/kzima/5v8rLmp6/1/
My component's template looks like this:
<button v-show="!href"><slot></slot></button>
<a href="href" v-show="href"><slot></slot></a>
and it only works if I set the 'replace' param on the component to true, but then I end up with custom tag in my html.
Any thoughts?
Metadata
Metadata
Assignees
Labels
No labels