# minrui-plus

> Based on Vue3+element plus secondary packaging component library(Packaging of learning components)

Latest version **1.7.5** (published 2026-11-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install minrui-plus
pnpm add minrui-plus
yarn add minrui-plus
bun add minrui-plus
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; large bundle.

## Facts

| | |
|---|---|
| Version | 1.7.5 |
| Published | 2026-11-28 |
| First published | 2024-06-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 40 |
| Unpacked size | 13.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | xiashuangquan |
| Maintainers | xiashuangquan |
| Keywords | vue, vue3, element, element ui, element plus, minrui, minrui ui, minrui plus, components, 封装组件, 二次封装组件 |

## Links

- npm: https://www.npmjs.com/package/minrui-plus
- Repository: https://gitee.com/baoxin_software_wuhan_xiashuangquan/minrui-plus
- Homepage: https://gitee.com/baoxin_software_wuhan_xiashuangquan/
- npm.io page: https://npm.io/package/minrui-plus

## Dependencies (40)

- [axios](https://npm.io/package/axios.md) ^1.20.0
- [dayjs](https://npm.io/package/dayjs.md) ^1.11.23
- [katex](https://npm.io/package/katex.md) ^0.18.7
- [bytemd](https://npm.io/package/bytemd.md) ^1.22.0
- [core-js](https://npm.io/package/core-js.md) ^3.50.0
- [echarts](https://npm.io/package/echarts.md) ^6.1.0
- [exceljs](https://npm.io/package/exceljs.md) ^4.4.0
- [mermaid](https://npm.io/package/mermaid.md) ^12.0.0
- [tinymce](https://npm.io/package/tinymce.md) ^8.9.1
- [vue-i18n](https://npm.io/package/vue-i18n.md) ^11.4.10
- [x-sender](https://npm.io/package/x-sender.md) ^1.4.6
- [xgplayer](https://npm.io/package/xgplayer.md) ^3.0.26
- [cropperjs](https://npm.io/package/cropperjs.md) ^2.2.0
- [jsbarcode](https://npm.io/package/jsbarcode.md) ^3.12.3
- [lodash-es](https://npm.io/package/lodash-es.md) ^4.18.1
- [nprogress](https://npm.io/package/nprogress.md) ^0.2.0
- [countup.js](https://npm.io/package/countup.js.md) ^2.10.1
- [pinyin-pro](https://npm.io/package/pinyin-pro.md) ^3.29.4
- [sortablejs](https://npm.io/package/sortablejs.md) ^1.15.7
- [vue-echarts](https://npm.io/package/vue-echarts.md) ^8.3.0
- [@vueuse/core](https://npm.io/package/@vueuse/core.md) ^14.4.0
- [highlight.js](https://npm.io/package/highlight.js.md) ^11.12.0
- [vuedraggable](https://npm.io/package/vuedraggable.md) ^4.1.0
- [xgplayer-hls](https://npm.io/package/xgplayer-hls.md) ^3.0.26
- [monaco-editor](https://npm.io/package/monaco-editor.md) ^0.56.0
- [xgplayer-music](https://npm.io/package/xgplayer-music.md) ^3.0.26
- [unist-util-visit](https://npm.io/package/unist-util-visit.md) ^5.1.0
- [echarts-wordcloud](https://npm.io/package/echarts-wordcloud.md) ^2.1.0
- [hast-util-to-text](https://npm.io/package/hast-util-to-text.md) ^4.0.2
- [@ant-design/colors](https://npm.io/package/@ant-design/colors.md) ^8.0.1
- [@bytemd/plugin-gfm](https://npm.io/package/@bytemd/plugin-gfm.md) ^1.22.0
- [@bytemd/plugin-math](https://npm.io/package/@bytemd/plugin-math.md) ^1.22.0
- [github-markdown-css](https://npm.io/package/github-markdown-css.md) ^5.9.0
- [@ant-design/fast-color](https://npm.io/package/@ant-design/fast-color.md) ^3.0.1
- [@baidumap/jsapi-loader](https://npm.io/package/@baidumap/jsapi-loader.md) ^1.0.0
- [@amap/amap-jsapi-loader](https://npm.io/package/@amap/amap-jsapi-loader.md) ^1.0.1
- [@bytemd/plugin-math-ssr](https://npm.io/package/@bytemd/plugin-math-ssr.md) ^1.22.0
- [@element-plus/icons-vue](https://npm.io/package/@element-plus/icons-vue.md) ^2.3.2
- [resize-observer-polyfill](https://npm.io/package/resize-observer-polyfill.md) ^1.5.1
- [@bytemd/plugin-highlight-ssr](https://npm.io/package/@bytemd/plugin-highlight-ssr.md) ^1.22.0

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@progress/kendo-vue-listbox](https://npm.io/package/@progress/kendo-vue-listbox.md) — 932 weekly downloads

## Recent versions

- 1.7.5 (latest) — 2026-11-28
- 1.7.4 — 2026-11-28
- 1.7.3 — 2026-11-28
- 1.7.2 — 2026-11-28
- 1.7.1 — 2026-11-28
- 1.7.0 — 2026-11-28
- 1.4.0 — 2025-09-26
- 1.3.3 — 2025-02-23
- 1.3.2 — 2025-02-22
- 1.3.1 — 2025-02-17
- 1.3.0 — 2025-02-16
- 1.1.10 — 2024-06-16
- 1.1.9 — 2024-06-09
- 1.1.8 — 2024-06-07

## README

# MinRuiPlus

## 简介

`minrui-plus` 是一款基于vue3+element-plus二次封装组件库，仅供内部学习使用。


## 前提条件

使用组件，需要全局注册 Element-plus 组件库。


## 安装

```bash
npm i --registry=https://registry.npmmirror.com
```

## 运行

全局引入方式运行：

```
npm run dev
```

## 安装依赖

```shell
npm install minrui-plus -S
```

- 全局使用，在main.js中按下引入。

	    import MinRuiPlus from 'minrui-plus';
	    Vue.use(MinRuiPlus);


- 按需引入，在单个vue文件如下引入。

	    import { MrTable, MrLayoutPage, MrLayoutPageItem, MrForm, MrQueryCondition } from 'minrui-plus';


## 浏览器 CDN 引入（UMD）

除了 `npm install` 模块化引入，也可以直接通过 CDN 以 `<script>` 方式在浏览器中使用（包已配置 `unpkg` / `jsdelivr` 字段，默认指向全量 UMD 产物 `dist/index-full.min.js`）。

> 注意：UMD 产物将 `vue`、`element-plus` 等作为外部依赖，需在 `minrui-plus` **之前**引入它们的全局版本。

```html
<!-- 1. 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/element-plus/dist/index.css" />
<link rel="stylesheet" href="https://unpkg.com/minrui-plus/dist/index.css" />

<!-- 2. 引入依赖（vue、element-plus 必须先于 minrui-plus） -->
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
<script src="https://unpkg.com/element-plus"></script>

<!-- 3. 引入 minrui-plus（默认 = 全量 UMD，对应 dist/index-full.min.js） -->
<script src="https://unpkg.com/minrui-plus"></script>

<script>
  const { createApp } = Vue;
  const app = createApp({ /* 根组件 */ });
  app.use(ElementPlus);      // 先注册 ElementPlus
  app.use(MinRuiPlus);       // 再注册全部 MinRuiPlus 组件（全局变量：MinRuiPlus）
  app.mount('#app');
</script>
```

### 可用的 CDN 文件

| 文件 | 全局变量 | 说明 |
| --- | --- | --- |
| `dist/index-full.min.js` | `MinRuiPlus` | 全量组件库（unpkg/jsdelivr 默认入口） |
| `dist/index.min.js` | `MinRuiPlus` | 核心精简版（仅 core 组件，体积更小） |
| `dist/icons.min.js` | `MinRuiPlusIcons` | 图标库 |
| `dist/form-builder.min.js` | `MinRuiPlusFormBuilder` | 表单设计器 |
| `dist/map-plugin.min.js` | `MinRuiPlusMapPlugin` | 地图插件 |
| `dist/index.css` | — | 默认主题样式 |

主题样式可按需替换 `index.css`，可选：`theme-dark.css`、`theme-modern.css`、`theme-modern-dark.css`、`theme-rounded.css`、`theme-simple.css`、`theme-simple-dark.css`、`theme-transparent.css`。

> 部分组件（如地图、条码、视频、Excel 导出等）在运行时还依赖对应的第三方库，使用这些组件时请额外引入其全局脚本（参考 `UMD_GLOBALS` 中的全局变量映射）。

## npm常用命令
- 清除缓存

	    npm cache clean --force

- 清除项目中没有被使用的依赖

	    npm prune
		
- 依赖已经过时

	    npm outdated		

- 卸载模块，但不卸载依赖留在package.json中的对应信息 

	    npm uninstall minrui-plus

- 卸载全局依赖

	    npm uninstall minrui-plus -g

- 卸载依赖，卸载留在package.json中dependencies下的信息

	    npm uninstall minrui-plus --save

- 卸载依赖，卸载留在package.json中devDependencies下的信息

	    npm uninstall minrui-plus --save-dev

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