Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hfun-element-plus

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hfun-element-plus

一个vue3业务型组件库

  • 0.2.2
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
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')


FAQs

Package last updated on 26 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc