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

chore(frontend): changed source code to src folder from root #226

Merged
merged 4 commits into from
Jan 15, 2023

Conversation

akhilmhdh
Copy link
Member

@akhilmhdh akhilmhdh commented Jan 15, 2023

Why this change.

  1. Moving the source code to src folder and keeping all frontend configs will immensely help to have a clear separation of concern.
  2. Like docker mounting, tailwind config all those will be easier to configure
  3. Patched lockfile from swc issue
  4. Added a new ts path called @app -> src. Thus call imports can regarding file be made like from now on:
import {} from "@app/folder1/folder2/"

@akhilmhdh
Copy link
Member Author

@mv-turtle If this was decided to keep due to pages folder file based routing.

No worries cause nextjs will identify pages inside src

Ref: https://nextjs.org/docs/advanced-features/src-directory

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

Successfully merging this pull request may close these issues.

2 participants