yiya-ce1 v1.0.7
Ant Design Pro
This project is initialized with Ant Design Pro. Follow is the quick guide for how to use.
Environment Prepare
Install node_modules
:
npm install
or
yarn
Provided Scripts
Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test.
Scripts provided in package.json
. It's safe to modify or add additional script:
Start project
npm start
Build project
npm run build
Check code style
npm run lint
You can also use script to auto fix some lint error:
npm run lint:fix
Test code
npm test
More
You can view full document on our official website. And welcome any feedback in our github.
发布流程
本地通过 打包 发布线上:执行 build 线上版本打包。发布预发:执行 build-pre 预发版本打包
打包之后会在 YIYA-FE 文件下 新建一个 dist 文件夹
yiya-fe : 线上环境 yiya-fe-stage:预发环境 选择对应环境 上传 dist 文件夹下所有文件 请看下图示例
选中所有文件:注意文件夹不会选中 无需上传文件夹 选中之后 上传
上传完成之后 https://cdn.console.aliyun.com/refresh/cache?spm=5176.8466032.help.14.25e51450LXpSKc 到该页面进行 刷新预热
刷新预热 点击提交按钮等待 1 到 2 分钟即可
详细带图片教程请访问: https://yaxincheng.feishu.cn/docx/Ae5Nd3iluojAjAxBSm4cbuPonnc