Commit 679f1f4 1 parent a5126e3 commit 679f1f4 Copy full SHA for 679f1f4
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 18
18
19
19
- ** ์ธ๋ถ ์ฌํญ** :
20
20
21
- ์ธ์คํด์ค๊ฐ ์ด๊ธฐํ๋ ๋ค์ props๊ฐ ์ฒ๋ฆฌ๋ ํ, ` data() ` ๋๋ ` computed ` ์ ๊ฐ์ ๋ค๋ฅธ ์ต์
์ ์ฒ๋ฆฌํ๊ธฐ ์ ์ ํธ์ถ๋ฉ๋๋ค.
21
+ ์ธ์คํด์ค๊ฐ ์ด๊ธฐํ ๋๊ณ props๊ฐ ํด๊ฒฐ๋ ๋ ์ฆ์ ํธ์ถ๋ฉ๋๋ค.
22
22
23
- ์ปดํฌ์ง์
API์ ` setup() ` ํ
์ ์ต์
API์ ์ด๋ค ํ
๋ณด๋ค ๋จผ์ (` beforeCreate() ` ํ
๋ณด๋ค ๋นจ๋ฆฌ) ํธ์ถ๋ฉ๋๋ค.
23
+ ๊ทธ๋ฐ ๋ค์ props๋ ๋ฐ์ํ ์์ฑ์ผ๋ก ์ ์๋๊ณ ` data() ` ๋๋ ` computed ` ์ ๊ฐ์ ์ํ๊ฐ ์ค์ ๋ฉ๋๋ค.
24
+
25
+ Composition API์ ` setup() ` ํ
์ ` beforeCreate() ` ์กฐ์ฐจ๋ ๋ชจ๋ Options API ํ
(hook)๋ณด๋ค ๋จผ์ ํธ์ถ๋๋ค๋ ์ ์ ์ฃผ์ํ์ธ์.
24
26
25
27
## created {#created}
26
28
219
221
220
222
** ์ด ํ
์ ๊ฐ๋ฐ ๋ชจ๋ ์ ์ฉ์ด๋ฉฐ ์๋ฒ ์ธก ๋ ๋๋ง ์ค์๋ ํธ์ถ๋์ง ์์ต๋๋ค.**
221
223
222
- ** This hook is development-mode-only and not called during server-side rendering.**
223
-
224
224
- ** ํ์
** :
225
225
226
226
``` ts
You canโt perform that action at this time.
0 commit comments