Skip to content

iaseth/redpapr-npm-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redpapr

redpapr is an npm package containing Redpapr UI components that are used across all Redpapr websites.

Table of contents

Installation

You can install redpapr with the following command:

npm i redpapr

Setup

  • Add the following path to your tailwind.config.js:

    content: [
        // add the line below
        './node_modules/redpapr/dist/**/*.{js,ts,jsx,tsx,mdx}',
    ],
    
  • Import the following CSS file in your project:

    import '../node_modules/redpapr/css/redpapr.css';
    

Now you should be able to import and use Redpapr UI components in your project.