🚀
基于 Vue 3
充分利用 Vue 3 的新特性,如 Composition API,性能更优
# 使用 npm
npm install yc-design-vue --save
# 使用 yarn
yarn add yc-design-vue
<template>
<div>
<yc-button type="primary">主要按钮</yc-button>
<yc-button>默认按钮</yc-button>
</div>
<div style="margin-top: 20px;">
<yc-input
v-model="text"
placeholder="请输入内容..."></yc-input>
</div>
</template>
<script setup>
import { ref } from 'vue';
const text = ref('');
</script>
import { createApp } from 'vue';
import App from './App.vue';
import YcUi from 'yc-design-vue';
import 'yc-design-vue/es/style.css';
const app = createApp(App);
app.use(YcUi);
app.mount('#app');
Yc Design Vue 提供了丰富的组件,涵盖:
欢迎任何形式的贡献!如果您在使用过程中发现任何问题,或者有功能建议,欢迎在项目的代码仓库中提交 Issue 或 Pull Request。
本项目基于 MIT 许可证。