@ckpack/v-ui is a Vue3.x Component UI library.
- Developed based on modern tools such as
Vite,Vue3.x,TypeScript - Separation of
UI,state logicandCSSfor components - Switch theme styles with
Hooks,CSS-IN-JSandCSS variables - You can customize component prefixes, CSS variable prefixes, and CSS class prefixes to avoid component name or style conflicts
- All components support on-demand loading by default
- Provides extensive documentation and component examples
Completely import the component library.
import App from '@/App.vue';
import VUI from '@ckpack/v-ui';
import { createApp } from 'vue';
const app = createApp(App);
app.use(VUI, {
// ...Optional configuration parameters
});
app.mount('#app');<script setup>
import { VButton } from '@ckpack/v-ui';
</script>
<template>
<VButton>
Test
</VButton>
</template>