Skip to content

Repository files navigation

Vue3 License Version

Yy Craft - 一个基于 Vue3 的组件库

  • 💯 类型安全
  • 📦 rolldown

TODO

  • button 组件取消使用 unset

  • 优化layout组件

使用

npm install yy-craft

全局注册

全局注册 treeshaking 将会不生效

import { createApp } from 'vue'
import YyCraft from 'yy-craft'

createApp(App).use(YyCraft).mount('#app')

按需引入

推荐, 更加推荐自动导入, 但是没有

import { createApp } from 'vue'
import { buttonWithInstall, create } from 'yy-craft'
import App from './App.vue'

const app = createApp(App)
app.use(create({ pluginMakers: [buttonWithInstall] })).mount('#app')

更多

开源

MIT License

About

A vue3 components store

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages