Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./src directory #16

Open
FleetAdmiralJakob opened this issue Jun 1, 2023 · 3 comments
Open

./src directory #16

FleetAdmiralJakob opened this issue Jun 1, 2023 · 3 comments

Comments

@FleetAdmiralJakob
Copy link

Support for the src directory would be super-duper nice

@nehalist
Copy link

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

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

to

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

within the tsconfig.json?

@mkoreo
Copy link

mkoreo commented Jul 10, 2023

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}"],

@haikelareff
Copy link

still wonk work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants