vue之激活路由链接高亮类名
router.js
// 自定义路由高亮的 class 类 linkActiveClass: 'active-router',
index.css
.active-router { background-color: blue; color: white; font-weight: bold; }
router.js
// 自定义路由高亮的 class 类 linkActiveClass: 'active-router',
index.css
.active-router { background-color: blue; color: white; font-weight: bold; }