框架千千万万,换个公司换个样!
umijs
官网地址在这里,都要喊它father
!! 作为笔记,了解框架结构。官网地址:Ant Design Pro。

项目环境
- node 版本18+
- 依赖安装淘宝镜像,
npm i
大概要2~3分钟,感觉这种框架很重
安装依赖
bash
npm install

bash
npm run dev

上面是用的是npm run dev
,项目虽然启动了,但是无法登录,报错显示找不到接口,主要是mock
没启动,这里需要使用下面的复合命令
bash
npm run start
打包
bash
npm run build

包优化
bash
npm run analyze

分析包的体积,webpack相关配置进行优化

网站性能评估
为我们对网站进行性能优化,进行判断依据