diff --git a/package.json b/package.json index 3ecfacd..a972a03 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ }, "dependencies": { "keycloak-js": "^24.0.1", + "naive-ui": "^2.38.1", "pinia": "^2.1.7", "vue": "^3.4.21", "vue-router": "^4.3.0" diff --git a/src/router/index.ts b/src/router/index.ts index a49ae50..5e2a8a1 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -16,6 +16,11 @@ const router = createRouter({ // this generates a separate chunk (About.[hash].js) for this route // which is lazy-loaded when the route is visited. component: () => import('../views/AboutView.vue') + }, + { + path: '/auth/login', + name: 'auth.login', + component: () => import('../views/auth/Login.vue') } ] }) diff --git a/src/views/auth/Login.vue b/src/views/auth/Login.vue index 6ba192f..fd556ba 100644 --- a/src/views/auth/Login.vue +++ b/src/views/auth/Login.vue @@ -1,16 +1,36 @@