From 4f6c1399e2f8c6f51d241fcba5cb83f4caa34a0b Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 31 May 2023 15:11:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E5=A4=A7=E6=B3=A2=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fite.config.js | 1 + package.json | 4 +- src/app.vue | 28 +++++++- src/config/db.js | 27 ++++++++ src/lib/db/index.js | 45 +++++++++++++ src/main.js | 5 ++ src/store.js | 15 +++-- src/views/preferences.vue | 130 ++++++++++++++++++++++++++++++++++++++ src/views/topbar.vue | 8 ++- 9 files changed, 255 insertions(+), 8 deletions(-) create mode 100644 src/config/db.js create mode 100644 src/views/preferences.vue diff --git a/fite.config.js b/fite.config.js index a41b184..e41151d 100644 --- a/fite.config.js +++ b/fite.config.js @@ -30,6 +30,7 @@ export default { 'es.shim': '//jscdn.ink/es.shim/latest/index.js', vue: '//jscdn.ink/vue/3.2.47/vue.runtime.esm-browser.prod.js', wkit: '//jscdn.ink/wkit/latest/index.js', + '@bd/ui/': '//jscdn.ink/@bd/ui/latest/', '@bd/core': '//jscdn.ink/wkit/latest/index.js', fetch: '//jscdn.ink/@bytedo/fetch/latest/next.js' } diff --git a/package.json b/package.json index 76ae3c7..f7e3d2c 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { - "name": "fite-app", + "name": "chatgpt-client", "type": "module", "scripts": { "start": "fite dev", "build": "fite build" }, "devDependencies": { - "fite": "^1.1.6" + "fite": "^1.1.7" } } diff --git a/src/app.vue b/src/app.vue index 370e5b0..fd7f4e4 100644 --- a/src/app.vue +++ b/src/app.vue @@ -4,15 +4,28 @@