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.
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.
jshERP-web Vue
====
Overview
----
#### 前端技术
- 基础框架:[ant-design-vue](https://github.com/vueComponent/ant-design-vue) - Ant Design Of Vue 实现
- JavaScript框架: Vue
- Jeecg-boot 的前段UI框架
- Webpack
- node
- yarn
- eslint
- @vue/cli 3.2.1
- [vue-cropper ](https://github.com/xyxiao001/vue-cropper ) - 头像裁剪组件
- [@antv/g2 ](https://antv.alipay.com/zh-cn/index.html ) - Alipay AntV 数据可视化图表
- [Viser-vue ](https://viserjs.github.io/docs.html#/viser/guide/installation ) - antv/g2 封装实现
项目运行
----
- 安装nodeJS
```
建议安装node-v16.16.0-x64版本 教程参考 https://blog.csdn.net/wuliyouMaozhi/article/details/126071233
```
- 安装yarn
```
npm install -g yarn
```
- 配淘宝源(速度快)
```
yarn config set registry https://registry.npm.taobao.org
```
- 安装依赖
```
yarn install
```
- 开发模式运行
```
yarn serve
```
- 编译发布项目
```
yarn build
```
其他说明
----
- 项目使用的 [vue-cli3 ](https://cli.vuejs.org/guide/ ), 请更新您的 cli
- 关闭 Eslint (不推荐) 移除 `package.json` 中 `eslintConfig` 整个节点代码
- 修改 Ant Design 配色,在文件 `vue.config.js` 中,其他 less 变量覆盖参考 [ant design ](https://ant.design/docs/react/customize-theme-cn ) 官方说明
```ecmascript 6
css: {
loaderOptions: {
less: {
modifyVars: {
/* less 变量覆盖,用于自定义 ant design 主题 */
'primary-color': '#F5222D',
'link-color': '#F5222D',
'border-radius-base': '4px',
},
javascriptEnabled: true,
}
}
}
```
附属文档
----
- [Ant Design Vue ](https://vuecomponent.github.io/ant-design-vue/docs/vue/introduce-cn )
- [报表 viser-vue ](https://viserjs.github.io/demo.html#/viser/bar/basic-bar )
- [Vue ](https://cn.vuejs.org/v2/guide )
- [路由/菜单说明 ](https://github.com/zhangdaiscott/jeecg-boot/tree/master/ant-design-jeecg-vue/src/router/README.md )
- [ANTD 默认配置项 ](https://github.com/zhangdaiscott/jeecg-boot/tree/master/ant-design-jeecg-vue/src/defaultSettings.js )
- 其他待补充...
备注
----
> @vue/cli 升级后, eslint 规则更新了。由于影响到全部 .vue 文件,需要逐个验证。既暂时关闭部分原本不验证的规则,后期维护时,在逐步修正这些 rules