2 Star 14 Fork 321

研发部 / jetlinks-ui-antd

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

使用

$ git clone https://github.com/jetlinks/jetlinks-ui-antd.git
$ cd jetlinks-ui-antd
$ npm install
$ npm start         # visit http://localhost:8000

推荐使用淘宝镜像

本地开发环境要求

  • nodeJs v12.x
  • npm v6.x
  • Chrome v80.0+

⚠️本项目基于Ant Design 3.x开发,二次开发需要对Ant Design有一定基础。

本地开发项目建议使用如下命令启动项目

$ npm run start:dev     //支持:dev、test、pre环境

项目多处采用了 SSE 接口交互,开发需要使用 dev 环境变量(生产环境使用 nginx 代理了 EventSource 接口)

修改后台接口地址

后台接口配置文件地址:config/proxy.ts:

/**
 * 在生产环境 代理是无法生效的,所以这里没有生产环境的配置
 */
export default {
  dev: {
    '/jetlinks': {
      target: '后台地址',
      changeOrigin: true,
      pathRewrite: { '^/jetlinks': '' },
    },
  },
  test: {
    '/jetlinks': {
      target: '后台地址',
      changeOrigin: true,
      pathRewrite: { '^/jetlinks': '' },
    },
  },
  pre: {
    '/jetlinks': {
      target: '后台地址',
      changeOrigin: true,
      pathRewrite: { '^/jetlinks': '' },
    },
  },
};

注:本项目所有接口采用“/jetlinks”开头,用于统一代理

更多信息请参考 使用文档

支持环境

现代浏览器及 IE11。

IE / EdgeIE / Edge FirefoxFirefox ChromeChrome SafariSafari OperaOpera
IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

参与贡献

我们非常欢迎你的贡献,你可以通过以下方式和我们一起共建 :smiley:

  • 在你的公司或个人项目中使用 Jetlinks。
  • 通过 Issue 报告 bug 或进行咨询。
  • 提交 Pull Request 改进 Jetlinks 的代码。
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.

简介

jetlinks community ant design 展开 收起
TypeScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/jetlinks-rd/jetlinks-ui-antd.git
git@gitee.com:jetlinks-rd/jetlinks-ui-antd.git
jetlinks-rd
jetlinks-ui-antd
jetlinks-ui-antd
master

搜索帮助