1. Data on the page
Try firstWhat two things must you do so a value in setup appears on the page and stays up to date?
Check your answer
Make it with ref and return it from setup, then show it with {{ name }} inside the app.
- The page shows the score with
{{ score }}. - Load Vue, the
vue.jsfile beside the page. - In
setup, the score is aref: data that Vue watches. Return it so the page can use it. - Each click changes the score, and Vue changes the page. No
textContent.





