y-admin-ui

y-admin-ui 基于Element-plus二次封装基础组件文档
9,873
Install
npm install y-admin-ui
Latest Version:6.7.6
Vue:3
License:MIT
Last Updated:Feb 9, 2026
Links: npm
Maintainer: yaochegnjian

介绍

基于 vue3+ ts+ Element-plus 二次封装组件

npm 方式安装使用

npm i y-admin-ui

全局注册使用

前提条件:使用项目必须全局注册 Element-plus组件库

import { createApp } from 'vue';

// 在main.js中按下引入
import YAdminUi from 'y-admin-ui';
import 'y-admin-ui/lib/style.css';

const app = createApp(App);

app.use(YAdminUi);
npm install -g npm

# 安装依赖
npm install --registry=https://registry.npmjs.org/
> npm config get registry 查看当前指向源

# 如果安装依赖失败,可以尝试使用淘宝镜像  --registry=https://registry.npmmirror.com/
> npm config set registry https://registry.npmmirror.com/ 切换淘宝镜像源
> npm install

发包到npm

npm login

# 修改 package.json 版本号,允许打包命令
npm run lib

# 执行发布命令
npm publish

Related Packages

zzfund-ui

Vue3 中基于zzfund-ui-base二次封装基础组件文档

1,862
jnf-ui

基于 vue3+ ts+ Element-plus 二次封装组件

3,717
5irich-test

Vue3 中基于Element-plus二次封装基础组件文档

2,975
fengmao-ui

Vue3 中基于Element-plus二次封装基础组件文档

2,372

Version History

Version Released Vue License
6.7.6 3.3.4 MIT
6.7.5 3.3.4 MIT
6.7.4 3.3.4 MIT
6.7.3 3.3.4 MIT
6.7.2 3.3.4 MIT