/antDesignProH5

For pc and h5

Primary LanguageJavaScript

作者使用了Ant Design Pro 4 提供的脚手架搭建了此项目,项目中删除了多余文件,根据原有项目规范搭建了自己的业务项目,并在此基础上完成了菜单权限和登录的控制。

菜单数据是对接作者公司的数据格式写的数据Mock,但程序处理的生命周期是可复用的,其它文件规范,样式规范可自行定义,也可参考本项目的目录架构。

项目提供了几个角色进行本地测试,不再增加业务组件写法,项目可直接用于PC后台(非H5模式)准生产项目。

### 下面是Ant Design Pro介绍

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.