@coveliving/components
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

Components library

Reusable React components library with TypeScript and TailwindCSS

How to install

Run this command in your repository:

npm install @coveliving/components

Then, import any component in your application:

import { Button } from "@coveliving/components";

Finally, import the styles.css file from @coveliving/components into your project (where you usually import your global .css file, e.g. in your _app.jsx in Next.js project):

import "@coveliving/components/dist/styles.css";

How to contribute

This is a React project with TypeScript and TailwindCSS. To create and add a new component into library clone this repo from the GitHub and run:

npm install

To publish updated components:

  • run npm run build - it will purge the .css file through PostCSS plugin and compile .tsx files into .js through TypeSctipt compiler
  • change the version of library in package.json according to semver
  • run npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i @coveliving/components

Weekly Downloads

8

Version

0.0.9

License

ISC

Unpacked Size

4.05 MB

Total Files

14

Last publish

Collaborators

  • redgin
  • chimit