Coder Social home page Coder Social logo

unwatch / jetlinks-ui-antd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jetlinks/jetlinks-ui-antd

0.0 0.0 0.0 24.54 MB

jetlinks community ant design 演示地址:http://demo.jetlinks.cn 账号/密码: test/test123456

License: MIT License

Shell 0.02% JavaScript 2.83% TypeScript 93.91% CSS 0.01% Dockerfile 0.01% EJS 0.13% Less 3.09%

jetlinks-ui-antd's Introduction

使用

$ 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 / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

参与贡献

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

  • 在你的公司或个人项目中使用 Jetlinks。
  • 通过 Issue 报告 bug 或进行咨询。
  • 提交 Pull Request 改进 Jetlinks 的代码。

jetlinks-ui-antd's People

Contributors

afc163 avatar anderson-liu avatar chenshuai2144 avatar crush394 avatar ddcat1115 avatar dependabot-preview[bot] avatar depfu[bot] avatar flutterbest avatar gyf520 avatar hzsrc avatar imhele avatar jaredleechn avatar kaoding avatar kennylbj avatar lind-pro avatar m4jing avatar nikogu avatar puuuudding avatar rayronvictor avatar sorrycc avatar sun-chaochao avatar valleykid avatar whatakitty avatar wzyyy98 avatar xiaohuoni avatar yesmeck avatar yoyo837 avatar yutingzhao1991 avatar zhou-hao avatar zombiej avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.