Skip to content

ClemCornet/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

  • LcButton
  • LcCheckbox
  • LcForm
  • LcIcon
  • LcInput
  • LcModal
  • LcPagination
  • LcTable

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 🐢

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published