torchbox / storybook-django

Develop Django UI components in isolation, with Storybook
MIT License
109 stars 8 forks source link

can i use this to build my own server side pattern library aimed at tailwindcss? #3

Closed simkimsia closed 3 years ago

simkimsia commented 3 years ago

Hi there,

I am a bit confused tho I am familiar with Django.

Currently I use django-tailwind which requires me to create a separate theme app inside my Django project.

I like to build a UI component library so that

  1. the components can be reused within the same Django project
  2. and then eventually I can make it reusable across all Django projects that also use django-tailwind

Given this in mind, do I still follow the instructions given here to first install django-pattern-library followed by the npm installation of storybook-django and selecting HTML for the storybook template?

thibaudcolas commented 3 years ago

Hey @simkimsia, good question. I think you should follow the instructions on django-pattern-library only, for now. storybook-django is built on top, the only thing it does is providing a more modern UI to view the pattern library components and a slightly nicer development experience.

It’s still very experimental though, and for what you said you were after it’d probably be simpler to avoid it for now.

simkimsia commented 3 years ago

I'll give it a try then

Thank you