0.1.2 • Published 1 year ago

s-easy v0.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

s-easy 基于elementPlus二次封装的组件库

安装

npm i s-easy

开始使用

全局使用

// 引入所有组件
import EazyUI from 's-easy'
// 引入样式
import 's-easy/dist/style.css'

import App from './App.vue'
// 全局使用
createApp(App).use(EazyUI).mount('#app')
<template>
  <s-button>我是 Button</s-button>
</template>

单个导入

easy ui 提供了基于 ES Module 的开箱即用的 Tree Shaking 功能。

<template>
  <Button>我是 Button</Button>
</template>
<script>
  import { Button } from 's-easy'
  export default {
    components: { Button },
  }
</script>
0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago