next-template icon indicating copy to clipboard operation
next-template copied to clipboard

./src directory

Open FleetAdmiralJakob opened this issue 2 years ago • 3 comments

Support for the src directory would be super-duper nice

FleetAdmiralJakob avatar Jun 01 '23 17:06 FleetAdmiralJakob

I'm not using this template specifically, but can't you just change

"@/*": ["./*"]

to

"@/*": ["./src/*"]

within the tsconfig.json?

nehalist avatar Jun 16 '23 13:06 nehalist

In addition to changing the tsconfig.json, also change the tailwind config as described at the end of: https://nextjs.org/docs/pages/building-your-application/configuring/src-directory

Should be the following I guess: From: content: ["app/**/*.{ts,tsx}", "components/**/*.{ts,tsx}"], To: content: ["src/app/**/*.{ts,tsx}", "src/components/**/*.{ts,tsx}"],

mkoreo avatar Jul 10 '23 11:07 mkoreo

still wonk work

haikelareff avatar Feb 04 '24 14:02 haikelareff