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
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 | |
| 6.7.1 | 3.3.4 | MIT | |
| 6.7.0 | 3.3.4 | MIT | |
| 6.6.9 | 3.3.4 | MIT | |
| 6.6.8 | 3.3.4 | MIT | |
| 6.6.7 | 3.3.4 | MIT | |
| 6.6.6 | 3.3.4 | MIT | |
| 6.6.5 | 3.3.4 | MIT | |
| 6.6.4 | 3.3.4 | MIT | |
| 6.6.3 | 3.3.4 | MIT | |
| 6.6.2 | 3.3.4 | MIT | |
| 6.6.1 | 3.3.4 | MIT | |
| 6.6.0 | 3.3.4 | MIT | |
| 6.5.8 | 3.3.4 | MIT | |
| 6.5.7 | 3.3.4 | MIT | |
| 6.5.6 | 3.3.4 | MIT | |
| 6.5.5 | 3.3.4 | MIT | |
| 6.5.4 | 3.3.4 | MIT | |
| 6.5.3 | 3.3.4 | MIT | |
| 6.5.2 | 3.3.4 | MIT | |
| 6.5.1 | 3.3.4 | MIT | |
| 6.5.0 | 3.3.4 | MIT | |
| 6.4.9 | 3.3.4 | MIT | |
| 6.4.8 | 3.3.4 | MIT | |
| 6.4.7 | 3.3.4 | MIT | |
| 6.4.6 | 3.3.4 | MIT |
Showing the latest 30 of 127. See every release on npm