I'm creating a Vue application in which an expression will come from config as a variable. I need to run the expression (something like eval in javascript) and apply result to attribute
eg:
<v-text-field placeholder="{{expression}}"></v-text-field>
But this is showing the expression , not evaluating. Any way to achieve this?
Edit
Here expression can be something like
data.option=1?"ABC":"BCD"