1 Star 1 Fork 0

彭成刚 / 本地静态antDesignPro

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.en.md 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
彭成刚 提交于 2019-11-26 13:51 . Initial commit

本地静态antDesignPro

Description

ant-design-pro 如何打包成 本地html,双击即可查看 由于 ant-design-pro 的 mock 是一个单独的服务,所以没有办法整合到一起打包。暂时我是没有找到。

所以解决方案就是不用 mock 。

由于 系统有异步调取,所以一旦有异步调取就会失败,所以也不能有异步。

方案如下

1.删除路由权限

2.删除基本框架异步代码

3.删除基本框架权限代码

4.添加hash功能

5.编译build改为相对路径

https://www.cnblogs.com/pengchenggang/p/11934933.html

Software Architecture

Software architecture description

Installation

  1. xxxx
  2. xxxx
  3. xxxx

Instructions

  1. xxxx
  2. xxxx
  3. xxxx

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Gitee Feature

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. Gitee blog blog.gitee.com
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/
JavaScript
1
https://gitee.com/pengchenggang/local_static_antdesignpro.git
git@gitee.com:pengchenggang/local_static_antdesignpro.git
pengchenggang
local_static_antdesignpro
本地静态antDesignPro
master

搜索帮助