4 Star 43 Fork 45

jiuhao / chatgpt-web-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

###前端页面入口详解

src/views/chat/layout/Layout.vue  -- 聊天页面的整体布局
src/components/common/PromptStore/index.vue  -- 提示商店的页面入口

src/views/chat/layout/sider/Footer.vue -- 左下部的页面入口
    src/views/chat/layout/sider/index.vue  -- chat聊天页面的 功能列表(用户信息 + 提示词商店)
    src/components/common/UserAvatar/index.vue  - chat聊天框的 首页头像+用户昵称和描述

src/components/common/Setting/index.vue - chat首页设置的入口
    src/components/common/Setting/General.vue  -- 常规信息(目前系统的个人信息页面入口)
    src/components/common/Setting/About.vue   --  团队介绍的入口

前端组件地址:

element-plus: https://element-plus.org/zh-CN/component/button.html
naiveui: https://www.naiveui.com/zh-CN/os-theme/components/button
Icon地址:https://icon-sets.iconify.design/

naive-ui更换全局主题导致 Ninput的边框显示不了的问题

使用 NConfigProvider 组件来创建一个独立的主题配置
import {NConfigProvider } from 'naive-ui'
<n-config-provider >
    <NInput  v-model="value" />
</n-config-provider>

naive-ui更换全局主题导致 ninput的边框显示不了的问题

使用 NConfigProvider 组件来创建一个独立的主题配置
import {NConfigProvider } from 'naive-ui'
<n-config-provider >
    <NInput  v-model="value" />
</n-config-provider>

前置要求

Node

node 需要 ^16 || ^18 || ^19 版本(node >= 14 需要安装 fetch polyfill),使用 nvm 可管理本地多个 node 版本

node -v

前端

根目录下运行以下命令

npm install

vue3安装element-plus

1.更改淘宝的npm源
npm install -g cnpm --registry=https://registry.npm.taobao.org
2.执行:npm install element-plus --save

前端网页

根目录下运行以下命令

开发环境:
  文件:.env
  运行:npm run dev
  打包:npm run build
生产环境:
  文件:.env.prod
  运行:npm run prod
  打包:npm run build:prod
MIT License Copyright (c) 2023 ChenZhaoYu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于开源项目chat-web作为前端ui,Java语言作为后端服务,支持chatgpt的流式输出结果 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/lixinjiuhao/chatgpt-web-java.git
git@gitee.com:lixinjiuhao/chatgpt-web-java.git
lixinjiuhao
chatgpt-web-java
chatgpt-web-ui
master

搜索帮助