npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mars-admin

v1.0.0

Published

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

Downloads

2

Readme

版本修改说明

    '平台前端基础框架'
    '0.10-beta': #初始版本!

1, 源码

从项目托管平台gitLab上检出源码

2, 安装

检出项目后,你需要首先安装node.js,选择对应的平台安装包

建议使用VSCode IDE

然后进行一下步骤的安装以完成编译环境的安装:

1, 安装工具

    # 安装 yarn 工具
    npm install yarn
    yarn config get registry
    yarn config set registry https://registry.npm.taobao.org/

2,安装项目依赖

    # 安装项目依赖
    yarn install

3, 目录组织结构

├── 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, 开发规范


前端基础框架:

Vue.js v2.6.11

5, 技术文档 参考链接

Vue 参考链接

Vue Router 参考链接

Vuex 参考链接

element-ui 参考链接

ES6参考链接

yjh-ui 参考链接

6, 运行项目

  # 启动项目
  yarn start

  # 打包发布项目
  yarn run build