1.0.2 • Published 1 year ago

mico-base-ui v1.0.2

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

Mico Ui

安装

npm i mico-base-ui --save

开始使用

全局使用

// 引入所有组件
import MicoUi from 'mico-base-ui'
// 引入样式
import 'mico-base-ui/dist/index.css'

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

单个导入

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

<template>
  <Button>我是Button</Button>
</template>
<script>
  import { Button } from 'mico-base-ui'
  export default {
    components: { Button },
  }
</script>
1.0.2

1 year ago

1.0.1

1 year ago