Skip to content

Commit

Permalink
chore: updated readme with generator instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
benjitrosch committed Mar 11, 2022
1 parent ebcc0c9 commit ea8f936
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Expand Up @@ -22,7 +22,12 @@ To prevent TailwindCSS from purging your styles, add the following line to your

```js
module.exports = {
content: ['./node_modules/react-daisyui/dist/*.js'],
content: [],
safelist: [
{
pattern: /./
},
],
...
plugins: [require("daisyui")],
}
Expand Down Expand Up @@ -136,6 +141,11 @@ Mockup:

We're looking for contributors on this component library! We could use some help building out stories and writing unit tests for components.

### Creating new components

Run `npm generate component ${your_new_component_name}`. The generator will ask a few questions and setup the component for you.

Don't forget to export the component from `index.tsx`.
___

### License
Expand Down

0 comments on commit ea8f936

Please sign in to comment.