1 Star 0 Fork 0

zhangyunan / chattyai-web-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 2.29 KB
一键复制 编辑 原始数据 按行查看 历史
zhangyunan 提交于 2023-05-21 11:35 . 后端页面
  1. 安装 node.js
  2. 安装 pnpm npm install -g pnpm
  3. 项目目录打包 pnpm builddev => mvn package

开发

本项目依赖 node.js 和 pnpm

# 克隆项目
git clone https://gitee.com/y_project/RuoYi-Vue

# 进入项目目录
cd ruoyi-ui

# 安装依赖
pnpm install

# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npmmirror.com

# 启动服务
pnpm run dev

浏览器访问 http://localhost:80

发布

# 构建测试环境
pnpm run build:stage

# 构建生产环境
pnpm run build:prod

dependencies

pnpm install element-plus
pnpm install @element-plus/icons-vue
pnpm install pinia
pnpm install vue-router@4
pnpm add axios

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

Type Support For .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.
1
https://gitee.com/zhangyunan1994/chattyai-web-ui.git
git@gitee.com:zhangyunan1994/chattyai-web-ui.git
zhangyunan1994
chattyai-web-ui
chattyai-web-ui
main

搜索帮助