GithubHelp home page GithubHelp logo

lqsong / electron-admin-antd-react Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 1.0 2.84 MB

Electron React Ant Design Admin template

Home Page: http://admin-antd-react.liqingsong.cc

License: MIT License

Shell 0.08% JavaScript 0.08% TypeScript 94.38% Less 3.66% EJS 1.80%
react mock typescript dva antd ant-design umijs umi antd4

electron-admin-antd-react's Introduction

electron-admin-antd-react

electron-admin-antd-react(GitHubGitee) 是在 admin-antd-reactGitHubGitee)的基础上结合 umi-plugin-electron-builder 构建的桌面Admin。

Demo

注意:Demo 用的是在线mock服务,不稳定,若登录不了pull到本地可直接运行查看demo

下载自己需要的版本进行安装

下载链接
electron-admin-antd-react-v1.0.0-win32-ia32-setup.exe Github Gitee
electron-admin-antd-react-v1.0.0-win32-x64-setup.exe Github Gitee
electron-admin-antd-react-v1.0.0-mac.dmg Github Gitee
图片预览
Home
Home

使用文档

后台前端解决方案列表

功能

- 登录 / 注销 / 注册

- 权限验证
  - 页面权限
  - 按钮操作
  - 权限配置

- 全局功能
  - 国际化多语言
  - 动态顶级菜单(支持设置是否启用)
  - 动态侧边栏(支持多级路由嵌套)
  - 动态面包屑(支持自定义配置)
  - Svg Sprite 图标
  - Mock 数据

- 综合实例
  - 引导页
  - 组件示例
    - 编辑器
      - CKEditor
      - tui-editor
    - 图标
      - IconSvg
      - IconFont
      - IconAntd
  - 页面示例
    - 列表页面
      - 标准列表
      - 表格列表
      - 高度自适应表格
      - 搜索列表
    - 表单页面
      - 基础表单
      - 高级表单      
    - 详情页面
      - 基础详情
      - 模块详情
      - 表格详情
  - 权限验证

自定义配置

(建议) 本地或开发模式下,不要直接修改 '.env'

复制 '.env' 重命名为 ' .env.local' , 启用修改对应的参数.

项目设置

一、Install dependencies,

$ yarn

or

$ npm install

推荐使用 yarn , yarn安装与常用命令

二、Start the dev server,

$ yarn electron:dev

or

$ npm run electron:dev

三、Compiles and minifies for production

$ yarn electron:build:win
$ yarn electron:build:mac
$ yarn electron:build:linux

or

$ npm run electron:build
$ npm run electron:build:mac
$ npm run electron:build:linux

四、精简 svg icon

$ yarn svgo

or

$ npm run svgo

捐赠

如果你觉得这个项目帮助到了你,你可以请作者喝咖啡表示鼓励.

ALIPAY WECHAT
Alipay Wechat

electron-admin-antd-react's People

Contributors

lqsong avatar xinchanghao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

xinchanghao

electron-admin-antd-react's Issues

无法打包

node:16.13.1
Mac 或者是Windows 都无法打包(yarn\npm run electron:build:win)
提示如下错误
D:\electron_project\electron-admin-antd-react\node_modules\app-builder-lib\src\asar\asarFileChecker.ts:7
return new Error(${messagePrefix} "${relativeFile}" in the "${asarFile}" ${text})
^
Error: Application entry file "main.js" in the "D:\electron_project\electron-admin-antd-react\dist_electron\win-ia32-unpacked\resources\app.asar" does not exist. Seems like a wrong configuration.

打包出错

UnhandledPromiseRejectionWarning: Error: Application entry file "main.js" in the "/Users/wangming/Desktop/electron-erp/dist_electron/mac/electron-erp.app/Contents/Resources/app.asar" does not exist. Seems like a wrong configuration.

请问我应该怎么配置呢

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.