React components based on TailBlocks
npm install react-tailblocks> React components based on TailwindCSS and TailBlocks (https://tailblocks.cc/)
 
``bash
npm install --save react-tailblocks
or
yarn add react-tailblocks
`
Then configure your tailwind.config.js file to include the react-tailwind library from your node_modules folder in the purge
array. To do this add './node_modules/react-tailblocks/*/.{js,ts,jsx,tsx}' to the end of the list.
`bash
purge: [
'./pages/*/.{js,ts,jsx,tsx}',
'./components/*/.{js,ts,jsx,tsx}',
// ...
'./node_modules/react-tailblocks/*/.{js,ts,jsx,tsx}'
],
`
`jsx
import React from 'react'
import { Ecommerce1 } from 'react-tailblocks'
export default function Example() {
return
{
title: "The Catalina",
category: "Boating",
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce imperdiet hendrerit nisi quis viverra. Cras quis ipsum arcu. Phasellus in nibh mauris. Cras malesuada facilisis porttitor.",
image:
,
price:
$16.00
MIT © dotnetfx