ui
ui copied to clipboard
installation using npx shadcn-ui init inaccurate when using the src directory in next
When using the source directory, the content array in the tailwind config file should be content: [ './src/app/**/*.{ts,tsx}', './src/components/**/*.{ts,tsx}', ], instead of
content: [ './pages/**/*.{ts,tsx}', './components/**/*.{ts,tsx}', './app/**/*.{ts,tsx}', ],
More info on it here: https://stackoverflow.com/questions/76508244/shadcn-ui-instillation-breaks-tailwind-css/76523233#76523233 This is my first time contributing to open source. Please let me know some suggestions to better structure my issue requests and tips generally. Thank you.
Duplicate of #532.
A PR has already been opened #554.
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.