# mars-admin

> Mars - 御家汇经销商管理系统

Latest version **1.0.0** (published 2021-03-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install mars-admin
pnpm add mars-admin
yarn add mars-admin
bun add mars-admin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-03-16 |
| First published | 2021-03-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 6.0.0 |
| Dependencies | 9 |
| Unpacked size | 4.1 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | 御家科技前端组 |
| Maintainers | tianmu |

## Links

- npm: https://www.npmjs.com/package/mars-admin
- Repository: git@gitlab.yujiahui.com:front-end-center/template-backstage
- npm.io page: https://npm.io/package/mars-admin

## Dependencies (9)

- [qs](https://npm.io/package/qs.md) ^6.7.0
- [vue](https://npm.io/package/vue.md) ^2.5.17
- [core-js](https://npm.io/package/core-js.md) ^3.1.3
- [bcryptjs](https://npm.io/package/bcryptjs.md) ^2.4.3
- [vue-router](https://npm.io/package/vue-router.md) ^3.0.2
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.4.5
- [true-case-path](https://npm.io/package/true-case-path.md) ^2.0.0
- [eslint-plugin-vue](https://npm.io/package/eslint-plugin-vue.md) ^5.2.3
- [postcss-css-variables](https://npm.io/package/postcss-css-variables.md) ^0.17.0

## Recent versions

- 1.0.0 (latest) — 2021-03-16

## README

#### 版本修改说明
```javascript
    '平台前端基础框架'
    '0.10-beta': #初始版本!

```

### 1, 源码

[从项目托管平台gitLab上检出源码](https://gitlab.yujiahui.com/mars/mars-admin/-/tree/dev)


### 2, 安装

检出项目后，你需要首先[安装node.js](https://nodejs.org/download/release/v10.18.0/),选择对应的平台安装包

[建议使用VSCode IDE](https://code.visualstudio.com/)

然后进行一下步骤的安装以完成编译环境的安装:


1, 安装工具
```sh
    # 安装 yarn 工具
    npm install yarn
    yarn config get registry
    yarn config set registry https://registry.npm.taobao.org/
```

2,安装项目依赖
```sh
    # 安装项目依赖
    yarn install
```


### 3, 目录组织结构

```sh
├── node_modules                                # node依赖包
├── build                                       # webpack构建文件 (非必要勿改动)
├── config                                      # webpack配置文件 可以改端口 (请谨慎食用)
├── dist                                        # run build 后的文件目录(直接丢到服务器上)
├── src                                         # 源码目录
│   ├── api                                     # 接口(按功能模块区分大体上和swagger一致)
│   ├── assets                                  # 项目的资源文件
│   │   ├── js                                  # 校验规则
│   │   └── scss                                # 样式表资源
│   ├── components                              # 公共组件
│   │   ├── basis                               # 基础组件
│   │   └── popup                               # 弹窗组件
│   ├── filters                                 # 过滤器
│   ├── store                                   # 仓库
│   │   ├── actions                             # 异步取数据
│   │   ├── getters                             # 同步取数据
│   │   ├── mutations                           # 存数据
│   │   └── state                               # 数据池
│   ├── utils                                   # 工具库
│   ├── store                                   # 全局状态机定义
│   ├── views                                   # 页面
│   │   ├── app                                 # 页面主体
│   │   │   ├── mainPart                        # 主体框架
│   │   │   ├── myRouter                        # 路由容器
│   │   │   ├── pageNav                         # 页签容器容器
│   │   │   ├── topBar                          # 顶部横条容器
│   │   │   └── menu                            # 菜单栏
│   │   ├── authority                           # 权限管理
│   │   ├── commodity                           # 商品管理
│   │   ├── customer                            # 用户管理
│   │   ├── deliveryVoucher                     # 发货单管理
│   │   ├── fundAccount                         # 资金账户管理
│   │   ├── marketing                           # 市场营销管理
│   │   ├── order                               # 订单管理
│   │   │   ├── components                      # 页面组件
│   │   │   ├── page                            # 页面
│   │   │   ├── popup                           # 页面弹窗
│   │   │   └── index.js                        # 改模块的页面配置( 路由 )
│   │   ├── settings                            # 设置
│   │   ├── index.js                            # 所有页面模块
│   │   └── router.js                           # vue-router配置
│   ├── App.vue                                 # 项目的入口组件
│   ├── main.js                                 # 项目的入口文件
│   ├── login.vue                               # 登录
│   ├── login.js                                # 登录
│   ├── ResetPassword.vue                       # 重置密码
│   └──reset-password.js                        # 重置密码
├── static                                      # 静态资源
├── index.html                                  # 项目首页
└── login.html                                  # 项目登录页
```

### 4, 开发规范
```sh

前端基础框架：

Vue.js v2.6.11

```

#### 5, 技术文档 **参考链接**

[Vue 参考链接](https://cn.vuejs.org/)

[Vue Router 参考链接](https://router.vuejs.org/zh/)

[Vuex 参考链接](https://vuex.vuejs.org/zh/)

[element-ui 参考链接](https://element.eleme.io/#/zh-CN/component/installation)

[ES6参考链接](http://es6.ruanyifeng.com/#docs/destructuring)

[yjh-ui 参考链接](https://element.eleme.io/#/zh-CN/component/installation)


#### 6, 运行项目

```sh
  # 启动项目
  yarn start

  # 打包发布项目
  yarn run build 

```

---
_Source: https://npm.io/package/mars-admin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
