From e7fd5884a15602cd1bbf9a71fe39c9634dcae534 Mon Sep 17 00:00:00 2001 From: Twilight Date: Tue, 10 Sep 2024 17:24:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=20=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.d.ts | 1 + src/components/chat/chat.vue | 17 +++++++++++++++++ src/pages/index.vue | 9 ++++++--- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 src/components/chat/chat.vue diff --git a/src/components.d.ts b/src/components.d.ts index 4ef5fe8..d5ce85d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -7,6 +7,7 @@ export {} /* prettier-ignore */ declare module 'vue' { export interface GlobalComponents { + Chat: typeof import('./components/chat/chat.vue')['default'] Container: typeof import('./components/Container.vue')['default'] Menu: typeof import('./components/Menu.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/components/chat/chat.vue b/src/components/chat/chat.vue new file mode 100644 index 0000000..ca00b64 --- /dev/null +++ b/src/components/chat/chat.vue @@ -0,0 +1,17 @@ + + + diff --git a/src/pages/index.vue b/src/pages/index.vue index 179f9b9..239f95f 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -1,6 +1,7 @@