In Laravel, I have discovered a useful shorthand method:
{{ $my_variable ?? '-' }}
However, if this alternative approach is preferred:
{{ ($my_variable) ? $my_variable : '-' }}
I am curious to know if there is an equivalent in VueJS.
Currently, I am using the following syntax:
@{{ (my_var) ? my_var : '-' }}