c2-ui-kit-v3
v0.0.25
Published
This is a Vue 3 component library with minimal styling used that allows devs to fully customize compoents in their project repos. Example copy paste code provided in docs on how to get started. ## Install ```html npm i c2-ui-kit-vue-3 ``` ## Project Requi
Downloads
14
Readme
C2 UI KIT built on Vue 3 + Vite
This is a Vue 3 component library with minimal styling used that allows devs to fully customize compoents in their project repos. Example copy paste code provided in docs on how to get started.
Install
npm i c2-ui-kit-vue-3
Project Requirements
Recommended Setup
- vite with @vitejs/plugin-vue
- alias vite.config.js recommended
resolve: {
alias: [
{
find: 'uikit',
replacement: path.join(__dirname, './node_modules/c2-ui-kit-v3/src/components')
},
{
find: 'uikitdirectives',
replacement: path.join(__dirname, './node_modules/c2-ui-kit-v3/src/directives')
}
]
},
Components
import C2Accordion from 'uikit/c2-accordion/c2-accordion.vue';
import C2AccordionItem from 'uikit/c2-accordion/c2-accordion-item.vue';
components: {
C2Accordion,
C2AccordionItem
},
import C2Breadcrumbs from 'uikit/c2-breadcrumbs/c2-breadcrumbs.vue';
import C2BreadcrumbItem from 'uikit/c2-breadcrumbs/c2-breadcrumb-item.vue';
components: {
C2Breadcrumbs,
C2BreadcrumbItem
},
import C2DropdownMenu from 'uikit/c2-dropdown-menu/c2-dropdown-menu.vue';
components: {
C2DropdownMenu
},
import C2HeroBanner from 'uikit/c2-hero/c2-hero-banner.vue';
components: {
C2HeroBanner
},
import C2Image from 'uikit/c2-image/c2-image.vue';
components: {
C2Image
},
import C2Modal from 'uikit/c2-modal/c2-modal.vue';
components: {
C2Modal
},
import C2Pagination from 'uikit/c2-pagination/c2-pagination.vue';
components: {
C2Pagination
},
import C2ProductGallery from 'uikit/c2-product-gallery/c2-product-gallery.vue';
components: {
C2ProductGallery
},
import C2SiteAlert from 'uikit/c2-site-alert/c2-site-alert.vue';e';
components: {
C2SiteAlert
},
import C2Slider from 'uikit/c2-slider/c2-slider.vue';
components: {
C2Slider
},
import C2Video from 'uikit/c2-video/c2-video.vue';
components: {
C2Video
},
Directives
import C2ClickOutside from 'uikitdirectives/c2-click-outside';
directives: {
C2ClickOutside
},
import C2Debounce from 'uikitdirectives/c2-debounce';
directives: {
C2Debounce
},
import C2Resize from 'uikitdirectives/c2-resize';
directives: {
C2Resize
},
import C2ScrollLock from 'uikitdirectives/c2-scroll-lock';
directives: {
C2ScrollLock
},
import C2Scroll from 'uikitdirectives/c2-scroll';
directives: {
C2Scroll
},
import C2ScrollTo from 'uikitdirectives/c2-scrollTo';
directives: {
C2ScrollTo
},
import C2Touch from 'uikitdirectives/c2-touch';
directives: {
C2Touch
},