next-template
next-template copied to clipboard
./src directory
Support for the src directory would be super-duper nice
I'm not using this template specifically, but can't you just change
"@/*": ["./*"]
to
"@/*": ["./src/*"]
within the tsconfig.json?
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}"],
still wonk work