0.3.3 • Published 3 years ago

hfun-element-plus v0.3.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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')
0.3.0

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.3

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.1.9

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.1.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.8

3 years ago

0.0.9

3 years ago

0.1.7

3 years ago

0.0.8

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.6

3 years ago

0.0.7

3 years ago

0.1.5

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago