You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ocr-java/ant-design-vue-jeecg
han 2b2c3e4093
基础代码提交
2 years ago
..
public 基础代码提交 2 years ago
src 基础代码提交 2 years ago
.dockerignore 基础代码提交 2 years ago
.editorconfig 基础代码提交 2 years ago
.env 基础代码提交 2 years ago
.env.development 基础代码提交 2 years ago
.env.production 基础代码提交 2 years ago
.env.test 基础代码提交 2 years ago
.eslintignore 基础代码提交 2 years ago
.gitattributes 基础代码提交 2 years ago
.gitignore 基础代码提交 2 years ago
.prettierrc 基础代码提交 2 years ago
Dockerfile 基础代码提交 2 years ago
LICENSE 基础代码提交 2 years ago
README.md 基础代码提交 2 years ago
babel.config.js 基础代码提交 2 years ago
idea.config.js 基础代码提交 2 years ago
package-lock.json 基础代码提交 2 years ago
package.json 基础代码提交 2 years ago
vue.config.js 基础代码提交 2 years ago
yarn 基础代码提交 2 years ago
yarn.lock 基础代码提交 2 years ago

README.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

前端技术

  • 基础框架:ant-design-vue - Ant Design Of Vue 实现
  • JavaScript框架Vue
  • Webpack
  • node
  • yarn
  • eslint
  • @vue/cli 3.2.1
  • vue-cropper - 头像裁剪组件
  • @antv/g2 - Alipay AntV 数据可视化图表
  • Viser-vue - antv/g2 封装实现

项目下载和运行

  • 安装依赖
yarn install
  • 开发模式运行
yarn run serve
  • 编译项目
yarn run build
  • Lints and fixes files
yarn run lint

其他说明

  • 项目使用的 vue-cli3, 请更新您的 cli

  • 关闭 Eslint (不推荐) 移除 package.jsoneslintConfig 整个节点代码

  • 修改 Ant Design 配色,在文件 vue.config.js 中,其他 less 变量覆盖参考 ant design 官方说明

  css: {
    loaderOptions: {
      less: {
        modifyVars: {
          /* less 变量覆盖,用于自定义 ant design 主题 */

          'primary-color': '#F5222D',
          'link-color': '#F5222D',
          'border-radius-base': '4px',
        },
        javascriptEnabled: true,
      }
    }
  }

原型图地址