1.1.5 • Published 1 year ago

@gregalexsmith/components v1.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

npm (scoped)

Components

React Component library using tailwindcss.

Storybook: https://dev-tools-components.netlify.app/

Getting started

  1. Dependancies: Setup your project with Tailwind

  2. Install:

npm i @gregalexsmith/components
  1. Update the project's tailwind.config.js:
/** @type {import('tailwindcss').Config} */
module.exports = {
  presets: [
    require('@gregalexsmith/components/tailwind.config')
  ],
  content: [
    "./src/**/*.{js,jsx,ts,tsx}",
    'node_modules/@gregalexsmith/components/**/*.{ts,tsx}'
  ],
  theme: {
    extend: {},
  },
}

References: