routes:[ {path:"/", component:ABC} ] ์
component:ABC ๋ค์
meta:{title: 'ํ์ด์ง์ด๋ฆ'}}
์ ๋ฃ๊ณ
router.beforeEach((to, from, next) => {
if (to.meta.title) {document.title = to.meta.title} next( ) })
๋ฅผ ๋ฃ์ผ๋ฉด!
์~~~~~~~~์๋ฒฝํด ..! ๋.
์ถ์ฒ ๋ฐ ์ฐธ๊ณ ๐ https://krcoder.com/p/121903
'CODING ๐ป > VUE ๐ฅ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
#06 VUE ํฐ๋ฏธ๋์ POWERSHELL์์ CMD๋ก ๋ฐ๊พธ์! (0) | 2021.12.27 |
---|---|
#04 Vue์์ FontAwesome์ ์ฌ์ฉํ๋ค! (0) | 2021.07.20 |
#03 reset.css๋ฅผ Vue ํ๋ก์ ํธ ํ์ผ์ ๋ค ์ ์ฉ์์ผ๋ณด๊ธฐ! (0) | 2021.07.20 |
#02 VUE์์ CSS ์ฐ๋ ์ด๋ป๊ฒํด? (0) | 2021.07.19 |
#01 VUE , ์์ง์ ๋ํํ ์ด๋ ค์ด ๋.. ๐ฅ (0) | 2021.07.19 |