An open API service indexing awesome lists of open source software.

https://github.com/themashcodee/demo-npm-comp-lib

A very basic demo project to understand how to make npm package with tsdx.io
https://github.com/themashcodee/demo-npm-comp-lib

Last synced: about 1 year ago
JSON representation

A very basic demo project to understand how to make npm package with tsdx.io

Awesome Lists containing this project

README

          

# How to Use

You can try out this dumb basic demo component library in React, Next.js Application with typescript or without typescript.

## Step 1
`npm i demo-npm-comp-lib`
or
`yarn add demo-npm-comp-lib`

## Step 2

### If you are not using tailwindcss in your app
so import the css file

![basic-use](https://user-images.githubusercontent.com/50915748/142401735-4be766cb-aba0-4288-b532-c66483e54fe0.png)

### If you are using tailwindcss in your app
so include the following path in purge array in tailwind.config.js

![withTailwindUse](https://user-images.githubusercontent.com/50915748/142401748-4fadce7d-d636-4a96-8e85-9135fa25c347.png)