my-vue-component-lib
v4.1.0
Published
A vue3 component library, built with Storybook and Vite.
Downloads
39
Maintainers
Readme
my-vue-component-lib
安装
npm install my-vue-component-lib
使用
- 在入口文件中引入样式
import 'my-vue-component-lib/dist/style.css';
- 在组件中使用
<script setup lang="ts">
import { MyButton } from 'my-vue-component-lib';
</script>
<template>
<MyButton type="primary" @click="count++"> count is {{ count }} </MyButton>
</template>