Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

hfun-element-plus

Package Overview
Dependencies
3
Maintainers
1
Versions
32
Issues
File Explorer

Advanced tools

hfun-element-plus

一个vue3业务型组件库

    0.3.2latest

Version published
Maintainers
1
Yearly downloads
2,016

Weekly downloads

Readme

Source

HFUN-ELEMENT-PLUS 组件库快速入门

本节介绍如何在项目中使用hfun-element-plus组件库



用法

hfun-element-plus是基于element-plus组件库的基础上进行封装的,所以需要引入element-plus组件库



安装

npm i hfun-element-plus

完整引入

// main.js import { createApp } from 'vue' import App from './App.vue' import hfunElementPlus from 'hfun-element-plus' // 引入 ElementPlus import ElementPlus from 'element-plus' import '../node_modules/element-plus/dist/index.css' createApp(App).use(ElementPlus).use(hfunElementPlus).mount('#app')

按需导入

// main.js import { createApp } from 'vue' import App from './App.vue' // 只引入hfunButton组件 import {hfunButton} from 'hfun-element-plus' // 引入 ElementPlus import ElementPlus from 'element-plus' import '../node_modules/element-plus/dist/index.css' createApp(App).use(ElementPlus).use(hfunButton).mount('#app')

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc