# aops-hermes **Repository Path**: zhangdaolong/aops-hermes ## Basic Information - **Project Name**: aops-hermes - **Description**: Web for aops. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 31 - **Created**: 2023-10-12 - **Last Updated**: 2024-04-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 开发环境和依赖 ---- - node - yarn - webpack - eslint - @vue/cli - [ant-design-vue@1.x](https://github.com/vueComponent/ant-design-vue) - Ant Design Of Vue 实现 - [vue-cropper](https://github.com/xyxiao001/vue-cropper) - 头像裁剪组件 使用yarn进行包管理,保证下载的依赖包版本一致 项目运行 ---- - 安装依赖 ``` yarn install ``` - 开发模式运行 ``` yarn run serve ``` - 编译项目 ``` yarn run build ``` 编译后在dist生成目标文件 - Lints and fixes files ``` yarn run lint ``` 其他说明 ---- - 项目使用的 [vue-cli3](https://cli.vuejs.org/guide/) - 关闭 Eslint (不推荐) 移除 `package.json` 中 `eslintConfig` 整个节点代码, `vue.config.js` 下的 `lintOnSave` 值改为 `false` - 组件按需加载 `/src/main.js` L14 相关代码 `import './core/lazy_use'` / `import './core/use'` - [修改 Ant Design 配色 (@kokoroli)](https://github.com/kokoroli/antd-awesome/blob/master/docs/Ant_Design_%E6%A0%B7%E5%BC%8F%E8%A6%86%E7%9B%96.md) - I18n: [多语言支持 (@musnow)](./src/locales/index.js) - 生产环境默认不加载 `mock`,更多详情请看 `src/mock/index.js`