Vue · Junior · Question 11 of 75

Which expressions are allowed inside template bindings?

Explanation

Each binding must evaluate to a value. Complex logic belongs in a computed property or a function in <script setup>.

Further reading

Problem with a question

Vue · Junior · question 11

Test yourself

Take the Vue · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz