Skip to content

LeCollectionist/component-library

Repository files navigation

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

About

🐢 The component library of Le Collectionist 🐢

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors