1 Star 1 Fork 0

彭成刚 / 本地静态antDesignPro

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

本地静态antDesignPro

介绍

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

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

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

方案如下

1.删除路由权限

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

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

4.添加hash功能

5.编译build改为相对路径

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

码云特技

  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. 码云官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解码云上的优秀开源项目
  4. GVP 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
  5. 码云官方提供的使用手册 https://gitee.com/help
  6. 码云封面人物是一档用来展示码云会员风采的栏目 https://gitee.com/gitee-stars/
MIT License Copyright (c) 2019 Alipay.inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

ant-design-pro 如何打包成 本地html,双击即可查看 由于 ant-design-pro 的 mock 是一个单独的服务,所以没有办法整合到一起打包。暂时我是没有找到。 所以解决方案就是不用 mock 。 由于 系统有异步调取,所以一旦有异步调取就会失败,所以也不能有异步。 方案如下 1.删除路由权限 2.删除基本框架异步代码 3.删除基本框架权限代码 4.添加hash功能 5.编译build改为相对路径 https://www.cnblogs.com/pengchenggang/p/11934933.html 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/pengchenggang/local_static_antdesignpro.git
git@gitee.com:pengchenggang/local_static_antdesignpro.git
pengchenggang
local_static_antdesignpro
本地静态antDesignPro
master

搜索帮助