README.md 1.1 KB

business

This template should help get you started developing with Vue 3 in Vite.

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

项目设置

# 安装项目依赖
$ npm install
$ npm install --legacy-peer-deps

# 本地启动项目
$ npm run dev # localhost:80

# 构建项目
$ npm run build

项目须知

  1. dist目录需要在git进行追踪,不必添加到.gitignore文件中。
  2. 安装项目依赖使用npm install --legacy-peer-deps,仅使用npm install命令可能无法启动项目。
  3. 配置文件位于src/config/settings.json中,RAGFlowUrl需要配置,当前值为http://192.168.20.119:11080。如果不配置,则会引起文档引用效果出错,图片和 PDF 文档将无法显示。

相关资源