Skip to content

Commit

Permalink
fix the broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua1988 committed Dec 12, 2023
1 parent b68b30f commit d8c819d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pinia/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ title: Introduction ๐Ÿ†•

# Pinia๋ž€?

ํ”ผ๋‹ˆ์•„(Pinia)๋ž€ Compositoin API ๊ธฐ๋ฐ˜์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ์ƒํƒœ ๊ด€๋ฆฌ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค. Vuex์˜ ์ตœ์‹  ๋ฒ„์ „์ธ 5๋ฅผ ์˜๋ฏธํ•˜๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์ด๊ธฐ๋„ ํ•ฉ๋‹ˆ๋‹ค.
ํ”ผ๋‹ˆ์•„(Pinia)๋ž€ [Compositoin API](../reuse/composition) ๊ธฐ๋ฐ˜์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ์ƒํƒœ ๊ด€๋ฆฌ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค. Vuex์˜ ์ตœ์‹  ๋ฒ„์ „์ธ 5๋ฅผ ์˜๋ฏธํ•˜๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์ด๊ธฐ๋„ ํ•ฉ๋‹ˆ๋‹ค.

## Vuex๋ž‘ ๋ญ๊ฐ€ ๋‹ค๋ฅผ๊นŒ?

[๋ทฐ์—‘์Šค(Vuex)](/vuex/concept)๋Š” Vue.js์˜ ์ƒํƒœ ๊ด€๋ฆฌ ํŒจํ„ด์ด์ž ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค. ๋ทฐ์—‘์Šค๊ฐ€ state, getters, mutations, actions๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ์ƒํƒœ๋ฅผ ๋‹ค๋ค˜๋‹ค๋ฉด ํ”ผ๋‹ˆ์•„๋Š” state, getters, actions๋กœ ์ƒํƒœ๋ฅผ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ ๋ทฐ์—‘์Šค์˜ ๋‹ค์†Œ ๋ณต์žกํ•˜๊ฒŒ ๋ณด์ธ ๋ฌธ๋ฒ•๋“ค์ด ๋‹จ์ˆœํ•ด ์ง€๋Š” ํšจ๊ณผ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.
[๋ทฐ์—‘์Šค(Vuex)](../vuex/concept)๋Š” Vue.js์˜ ์ƒํƒœ ๊ด€๋ฆฌ ํŒจํ„ด์ด์ž ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค. ๋ทฐ์—‘์Šค๊ฐ€ state, getters, mutations, actions๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ์ƒํƒœ๋ฅผ ๋‹ค๋ค˜๋‹ค๋ฉด ํ”ผ๋‹ˆ์•„๋Š” state, getters, actions๋กœ ์ƒํƒœ๋ฅผ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ ๋ทฐ์—‘์Šค์˜ ๋‹ค์†Œ ๋ณต์žกํ•˜๊ฒŒ ๋ณด์ธ ๋ฌธ๋ฒ•๋“ค์ด ๋‹จ์ˆœํ•ด ์ง€๋Š” ํšจ๊ณผ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.

ํ•˜์ง€๋งŒ ์žฅ์ ๋งŒ ์žˆ์ง€๋Š” ์•Š์Šต๋‹ˆ๋‹ค. ํ”ผ๋‹ˆ์•„๋ฅผ ์‚ฌ์šฉํ•˜๋ ค๋ฉด ์ปดํฌ์ง€์…˜ API ๊ธฐ๋ฐ˜ ํ”„๋กœ์ ํŠธ๋ฅผ ์‚ฌ์šฉํ•ด์•ผ ํ•˜๋ฉฐ ๋ทฐ์—‘์Šค๊ฐ€ ์•„๋‹Œ ๋‹ค๋ฅธ ์ƒํƒœ ๊ด€๋ฆฌ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์‚ฌ์šฉ๋ฒ•์„ ์ตํ˜€์•ผ ํ•˜๋Š” ๋ฒˆ๊ฑฐ๋กœ์›€์ด ์žˆ์Šต๋‹ˆ๋‹ค. ๋”ฐ๋ผ์„œ, ํ”„๋กœ์ ํŠธ ์„ฑ๊ฒฉ์— ๋งž๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค.

Expand Down

0 comments on commit d8c819d

Please sign in to comment.