Skip to content

✨✨✨ 基于 Vue3.5、TypeScript、Vite6、Pinia3、ElementPlus开源的一款聊天室客户端。

Notifications You must be signed in to change notification settings

zeromorphis/vue-chatroom-app

Repository files navigation

ChatRoom-App

简介 📖

Vue3 + TypeScript + Vite6 + ElementPlus + Pinia3 + Socket.IO

特性 ⭐

  • 最新技术栈:使用 Vue3/Vite6 等前端前沿技术开发
  • TypeScript: 应用程序级 JavaScript 的语言

准备 🔨

安装使用 📔

  • 获取项目代码
git clone https://github.com/zeromorphis/vue-chatroom-app.git
  • 安装依赖
cd vue-chatroom-app

yarn install 或 npm install
  • 运行
yarn serve  或 npm run dev
  • 打包
yarn build  或 npm run build 

文件资源目录 📚

vue-chatroom-app
├─ build                   # Vite 配置项
├─ public                  # 静态资源文件
├─ src
│  ├─ api                  # API 接口管理
│  ├─ assets               # 静态资源文件
│  ├─ components           # 全局组件
│  ├─ config               # 全局配置项
│  ├─ directives           # 全局指令文件
│  ├─ enums                # 项目常用枚举
│  ├─ hooks                # 常用 Hooks 封装
│  ├─ locales              # 语言国际化 i18n
│  ├─ plugins              # 插件
│  ├─ router               # 路由管理
│  ├─ store                # pinia store
│  ├─ styles               # 全局样式文件
│  ├─ typings              # 全局 ts 声明
│  ├─ utils                # 常用工具库
│  ├─ views                # 项目所有页面
│  ├─ App.vue              # 项目主组件
│  ├─ main.ts              # 项目入口文件
│  └─ vite-env.d.ts        # 指定 ts 识别 vue
├─ .env                    # vite 常用配置
├─ .env.development        # 开发环境配置
├─ .env.production         # 生产环境配置
├─ .env.test               # 测试环境配置
├─ .gitignore              # 忽略 git 提交
├─ index.html              # 入口 html
├─ package-lock.json       # npm 依赖包包版本锁
├─ package.json            # 依赖包管理
├─ README.md               # README 介绍
├─ tsconfig.json           # typescript 全局配置
├─ tsconfig.node.json      # node 环境配置
├─ vite.config.ts          # vite 全局配置文件
└─ yarn.lock               # yarn 依赖包包版本锁

浏览器支持 🌎

  • 本地开发推荐使用 Chrome 最新版浏览器 Download
  • 生产环境支持现代浏览器,不再支持 IE 浏览器,更多浏览器可以查看 Can I Use Es Module
IE Edge Firefox Chrome Safari
not support last 2 versions last 2 versions last 2 versions last 2 versions

项目后台接口 🧩

项目后台接口采用nestjs服务:

捐赠 🍵

如果你正在使用这个项目或者喜欢这个项目的,可以通过以下方式支持我:

  • Star、Fork、Watch 一键三连 🚀
  • 通过微信、支付宝一次性捐款 ❤
微信 支付宝
Wechat QRcode Alipay QRcode

维护者 👨‍👨‍👦‍👦

@言棠

stats graph   languages graph

About

✨✨✨ 基于 Vue3.5、TypeScript、Vite6、Pinia3、ElementPlus开源的一款聊天室客户端。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •