
์ฌ์ฌํด์ ํด๋ณด๋ vue3, ์๋ฌด๋ฐ ์ด์ ์์.https://www.vuemastery.com/courses/intro-to-vue-3/creating-the-vue-app-vue3 ๊ฐ์ ๋ฃ๊ณ ์ ๋ฆฌ๊ธhttps://github.com/Code-Pop/In
๊ธฐ์กด์ ๋ด์ฉ์์ ์ด๋ฏธ์ง ๋ฃ์ ๊ณต๊ฐ์ ํ๋ณด์ด๋ฏธ์ง ์ฃผ์๋ฅผ ๊ทธ๋ฅ ์๋๊ฒฝ๋ก๋ก ์์ฑํจv-bind:xx๋ผ๋ ๋๋ ํฐ๋ธ(v-bind directive)๋ฅผ ์ด์ฉํ๋ฉด data()์์ ๋ฐํํ๋ JSON์ image ์ ๋ณด๋ฅผ ๊ฐ์ ธ์ฌ ์ ์์v-bind: Dynamically bind an a
๋งค์ฐ ์ฝ๋ค. ๊ทธ๋ฅ v-if๋ก ํ๋ฉด ๋๋ค. ์๋ ๊ฒฝ์ฐ v-else ๊ทธ๋ฐ๋ฐ, v-else์ ๊ฒฝ์ฐ v-if๊ฐ ์ฌ๋ฌ๊ฐ์ผ ๋ ์ด๋ค v-if์ ์ํ๋์ง ์ ์ ์์๊น?v-if์ v-else๋ฅผ ํญ์ ์ง์ง์ ํ์๋ ์๋ค. (you don't need to pair it with v-