My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Ashutosh Tiwari

1 like

·

164 reads

4 comments

kiran ravi
kiran ravi
May 19, 2024

Hi Ashutosh Tiwari, My React vite + Tailwind+ Storybook set-up finished with this Document... Thanks... But I have a doubt...I imported my shardcn button in the button story... In storybook server the color varient are not reflected... Example: I imported primary button the button will be black right? But storybook document show the button as white without color.. but I passed the args argtypes also... Component doc shows the passing argument varient in the button... Storybook copy the storybook button component and i paste this into my project at the time the primary button black will reflects... What is the issue I had in storybook?

1
·
·2 replies
Ashutosh Tiwari
Ashutosh Tiwari
Author
·May 19, 2024

Could you please share me the GitHub repository link of your project if possible? I can take a look.

1
·
kiran ravi
kiran ravi
May 31, 2024

Ashutosh Tiwari I not added the project in repo bro.... Once I add that project and let you know

·
kiran ravi
kiran ravi
Jun 5, 2024

Bro I found it... Because I not added the tailwind css and the App.css file into the preview.jsx file... I added that one .. it will works.. please update this one.. in your docs.. ☺️

·