설명 없음

hml 891fcf43ca Merge remote-tracking branch 'origin/dev_hd' into pre-prod 5 달 전
.vscode 874aeca3bf 模型上下线 1 년 전
blueprint-templates 900b24eaba V8.0.8 初始化 1 년 전
docs 900b24eaba V8.0.8 初始化 1 년 전
hooks 2f97088d2b hooks文件 1 년 전
info 900b24eaba V8.0.8 初始化 1 년 전
lib-external 900b24eaba V8.0.8 初始化 1 년 전
patches 900b24eaba V8.0.8 初始化 1 년 전
public 486466093c 更新icon图标 1 년 전
src 5873fc3708 回退 7 달 전
src_custom b3dbec1382 放开资料新建按钮功能 6 달 전
src_product 891fcf43ca Merge remote-tracking branch 'origin/dev_hd' into pre-prod 5 달 전
.eslintignore 900b24eaba V8.0.8 初始化 1 년 전
.eslintrc-custom.js 900b24eaba V8.0.8 初始化 1 년 전
.eslintrc-product.js 900b24eaba V8.0.8 初始化 1 년 전
.eslintrc.js 900b24eaba V8.0.8 初始化 1 년 전
.gitattributes 900b24eaba V8.0.8 初始化 1 년 전
.gitignore a91da08fa3 审计计划情况增加查看审计计划安排情况 按钮 1 년 전
.markdownlint.yml 900b24eaba V8.0.8 初始化 1 년 전
.prettierignore 900b24eaba V8.0.8 初始化 1 년 전
.prettierrc.js 900b24eaba V8.0.8 初始化 1 년 전
.stylelintignore 900b24eaba V8.0.8 初始化 1 년 전
HEAD 900b24eaba V8.0.8 初始化 1 년 전
INIT.txt 192992b766 Initial Commit 8 달 전
README.md 900b24eaba V8.0.8 初始化 1 년 전
babel.config.js 900b24eaba V8.0.8 初始化 1 년 전
config 900b24eaba V8.0.8 初始化 1 년 전
description 900b24eaba V8.0.8 初始化 1 년 전
jsconfig.json 900b24eaba V8.0.8 初始化 1 년 전
minify-code.js 900b24eaba V8.0.8 初始化 1 년 전
package.json 6d42a74569 财务管理优化,风险库查询新增默认时间 8 달 전
styleguide.config.js 900b24eaba V8.0.8 初始化 1 년 전
stylelint.config-custom.js 900b24eaba V8.0.8 初始化 1 년 전
stylelint.config.js 900b24eaba V8.0.8 初始化 1 년 전
vue.config.js 900b24eaba V8.0.8 初始化 1 년 전
yarn.lock 0eca9e66ac 增加模型名称搜索 6 달 전

README.md

项目初始化

git clone

安装依赖

这里没有使用 npm,因为国内的网络环境下不太稳定。

我们使用的是 yarn

进入 xcoa-web 项目目录,执行

yarn install

注意:每次从 git 更新代码后,也要执行这个步骤!!

安装 VS Code 插件

VS Code 打开项目文件夹后,会提示安装推荐的插件。点击“全部安装”即可。

注意:一定要从 VS Code 菜单选择“打开文件夹”,不要把文件夹拖进 VS Code!!

启动开发版服务器

yarn serve

为了模拟真实环境,本地的开发服务器也加了一个 app 路径

生产环境打包

yarn build

检查并自动修复代码

yarn lint

快速新建 .vue 文件

  1. 在想要新建 .vue 文件的目录点击右键
  2. 选择“New File From Template”
  3. 按回车(模板“vue-component”位于第一位,会默认选中)
  4. 输入组件名字,如“xm-htgl-list”并按回车