lc-component-library

This repo provides a basic setup for developing component libraries in Vite with Vue 3 typescript and TailwindCss
8,749
Install
npm install lc-component-library
Latest Version:2.0.1
Vue:3
License:MIT
Last Updated:Nov 22, 2023
Links: npm
Maintainer: julien-habibi

Lc Component Library

This repo provides a basic setup for developing component libraries in Vite with Vue 3 typescript and TailwindCss

Features

  • Create a component library using Vue3 Vite and typescript
  • Tailwind CSS
  • Automatically export and register all components in ./src/components

Components

  • LcAccordion
  • LcBadge
  • LcButton
  • LcCount
  • LcIcon
  • LcModal
  • LcPagination
  • LcTab
  • LcTable
  • LcTabs
  • LcTooltip

Commands

yarn dev # Will run the demos app so you can see your components
yarn build # Will build your components into a library and generate types

Publish on NPM

Generate build

Upgrade version package :

  • Patch releases: 1.0 or 1.0.x or ~1.0.4
  • Minor releases: 1 or 1.x or ^1.0.4
  • Major releases: * or x
$ yarn build

Logged on NPM

$ npm login // Entrer your email + mdp

Publish on NPM

Push on NPM when the branch is merged on master :

$ npm publish

Version History

Version Released Vue License
2.0.1 ^3.3.8 MIT
2.0.0 ^3.3.8 MIT
1.7.4 ^3.2.25 MIT
1.7.3 ^3.2.25 MIT
1.7.2 ^3.2.25 MIT