Skip to content
Advertisement

Tag: vue-component

Vuejs : rendering dynamic link in a button base on probs

I have a create button above my table, I’m trying to render dynamic :to v-bind Since I have access to {{title}} Ex. {{title}} = apple, orange, any string I’ve tried I get Try #2 to=”{title}/create” link redirect wrong! http://localhost:8080/%7Btitle%7D/create Try #3 to=”{{title}}/create” crashed !! Answer vue-directives are ALWAYS wrapped with double-quotes, even if you are using template literal

Advertisement