Tengo un botón de creación encima de mi mesa, estoy tratando de renderizar dinámico :to v-bind
Como tengo acceso a {{title}}
Ex. {{title}} = manzana, naranja, cualquier cadena
He intentado
<router-link :to=`${title}/create`> <v-btn color="blue white--text mt-5 mr-8"> <span>Create</span> </v-btn> </router-link>yo obtengo
Prueba #2
to="{título}/crear"
redirección de enlace incorrecta!
http://localhost:8080/%7Btitle%7D/crear
Prueba #3
to="{{título}}/crear"
se estrelló!!
<router-link :to="`${title}/create`"> <v-btn color="blue white--text mt-5 mr-8"> <span>Create</span> </v-btn> </router-link>las directivas vue SIEMPRE están envueltas entre comillas dobles, incluso si está utilizando una plantilla literal
Prueba esto:
<router-link :to="`${title}/create`">