diff --git a/index.html b/index.html
index c9d26eb..f2b0bb2 100644
--- a/index.html
+++ b/index.html
@@ -1,11 +1,11 @@
-
+
- Vite App
+ Plusone Admin
diff --git a/package.json b/package.json
index 08411fa..4b0991b 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"version": "0.0.0",
"private": true,
"scripts": {
- "dev": "vite",
+ "dev": "vite --host",
"build": "run-p type-check build-only",
"preview": "vite preview",
"build-only": "vite build",
diff --git a/src/App.vue b/src/App.vue
index ece2079..186d4b5 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,7 +1,28 @@
-
+
+
+
+
+
diff --git a/src/main.ts b/src/main.ts
index 5657092..f70a218 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -18,6 +18,13 @@ import {
NLayoutSider,
NMenu,
NScrollbar,
+ NForm,
+ NFormItem,
+ NInput,
+ NRow,
+ NCol,
+ NMessageProvider,
+ NCard,
} from 'naive-ui'
const naive = create({
@@ -30,6 +37,13 @@ const naive = create({
NLayoutSider,
NMenu,
NScrollbar,
+ NForm,
+ NFormItem,
+ NInput,
+ NRow,
+ NCol,
+ NMessageProvider,
+ NCard,
],
})
diff --git a/src/router/index.ts b/src/router/index.ts
index 87b4bca..0a6e774 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -7,8 +7,7 @@ const router = createRouter({
routes: [
{
path: '/',
- name: 'home',
- component: HomeView,
+ redirect: '/login',
},
{
path: '/login',
diff --git a/src/views/LoginView/LoginView.vue b/src/views/LoginView/LoginView.vue
index c5ef641..c49c18b 100644
--- a/src/views/LoginView/LoginView.vue
+++ b/src/views/LoginView/LoginView.vue
@@ -1,5 +1,184 @@
- This is login page
+
+
+ {{ JSON.stringify(model, null, 2) }}
-
+
+
+