ui icon indicating copy to clipboard operation
ui copied to clipboard

installation using npx shadcn-ui init inaccurate when using the src directory in next

Open moyindavid16 opened this issue 2 years ago • 1 comments

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.

moyindavid16 avatar Jun 21 '23 12:06 moyindavid16

Duplicate of #532.

A PR has already been opened #554.

dan5py avatar Jun 21 '23 13:06 dan5py

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.

shadcn avatar Jun 23 '24 23:06 shadcn