Skip to content

Commit 23df360

Browse files
committed
added linkActiveClass: 'active' to router
1 parent cbbf684 commit 23df360

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/helpers/router.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { HomeView, LoginView } from '@/views';
55

66
export const router = createRouter({
77
history: createWebHistory(import.meta.env.BASE_URL),
8+
linkActiveClass: 'active',
89
routes: [
910
{ path: '/', component: HomeView },
1011
{ path: '/login', component: LoginView }

0 commit comments

Comments
 (0)