根据Umi@3的变更,对项目进行重构。
新增插件
名称 | 说明 |
---|---|
@alitajs/cordova | 由 umi-plugin-cordova 移植过来 |
@alitajs/dva | 动态识别dva文件,自动创建types文件 |
@alitajs/hd | 自己发的本地包,来自@umijs/plugin-hd |
@alitajs/layout | @alitajs-layout的插件版本,把配置放到app.ts中 |
@alitajs/native | 快速对接原生能力,封装的@ionic-native |
@alitajs/routes | 自己实现 routesExtend ,用于实现只允许index被识别为路由 |
插件集
统一通过插件集暴露:umi-presets-alita