0.0.13 • Published 2 months ago
flowchatconfigures v0.0.13
flow_chat_configure
这是一个流程图配置页面工具 两种用法 1 单独使用 通过 'npm run build' 打包出一个dist文件夹 在 'dist/index.html' 中手动配置 window.baseUrl 即可把dist文件夹放到服务器使用 2 npm包使用 通过 'npm run build:npm' 打包出一个lib文件夹 修改 package.json > version , 通过命令 "npm publish" 发布 在需要使用的主项目中 安装导入使用 详细见 #usage#
usage
npm i flow_chat_configure@latest
vue_main
import fc from 'flow_chat_configure'; import 'flow_chat_configure/lib/style.css';
app.use(fc, { baseUrl: '/dataflow', ajax: Request.axiosInstance })