Developments/Nuxt3
[Nuxt3] ??.vue does not have a single root node and will cause errors when navigating between routes. ํด๊ฒฐํ๊ธฐ
ํธ๋ฅธ๊น๋ฐ๐ณ๏ธ
2025. 5. 4. 12:15
์๋ฌ ๋ฉ์์ง : ์ต์์ ๋ฃจํธ ๋ก๋๊ฐ ํ๋๊ฐ ์๋๋ผ๋ ์๋ฌ ๋ฉ์์ง. vue๋ ์๋์ฒ๋ผ template์๋ ์ ์ฒด๋ฅผ ๋ฌถ๋ ๋จ์ผ ๋ ธ๋๊ฐ ํ์ํ๋ค.
<template>
<section>
<h1>๋น๋ฐ๋ฒํธ ์ฐพ๊ธฐ</h1>
</section>
</template>
๋ฌธ์ ๋ฐ์ : ํ์ง๋ง, ๋๋ ์ต์์ ๋ฃจํธ ๋ก๋๊ฐ ํ๋์๋ค! ๊ทธ๋ฐ๋ฐ๋ ์ ๋ฌ ๋ฉ์์ง๊ฐ ๋จ๊ณ ์ค์ ๋ก path navigating์ ๋ฌธ์ ๊ฐ ์๊ฒผ๋ค. ๋ด ์ฝ๋๋ ์๋์ ๊ฐ์ด ์๊ฒผ์๋ค.
์์ฌ: ํน์ template์๋์ ์ฃผ์์ด ์์ด์ ๊ทธ๋ฐ๊ฐ?
ํด๊ฒฐ: ์ฃผ์์ ์ ๊ฑฐํ๋ ์๋ฌ๊ฐ ์ฌ๋ผ์ก๋ค. ์ค