

We can trigger the action directly.

We don't have to put the calculation logic in the HTML, instead we can add in the computed.
The difference here is that when we use in HTML, we don't have to call the variable with "this", but here in app.js, we should call with "this".


We use 'watch' to see the flow of the game





'Vue.js - The Complete Guide' 카테고리의 다른 글
Section 06: Understanding Vue Components - Connected Vue Instances (0) | 2023.05.30 |
---|---|
Section 05: Vue: Behind the Scenes - How Vue Works (0) | 2023.05.30 |
Section 03: Conditional Content & Lists - Rendering More...Sometimes (0) | 2023.05.30 |
Section 02: Basics & Core Concepts - DOM interaction with Vue (0) | 2023.05.25 |
Section 01: Getting Started - What is Vue.js? (0) | 2023.05.11 |