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

Does this work with NextJS? #136

Open
maybebansky opened this issue Jul 12, 2023 · 1 comment
Open

Does this work with NextJS? #136

maybebansky opened this issue Jul 12, 2023 · 1 comment

Comments

@maybebansky
Copy link

Ive put require("module-alias/register"); at the top of layout.tsx but I get this error:

Error: Unable to find package.json in any of:
[/Users/me/projects/report/live-demo/.next,
/Users/me/projects/report/live-demo]

@HariisV
Copy link

HariisV commented Aug 19, 2023

if you use next js, why you not implemented using tsx configuration ?

ex: https://dev.to/rhammy/path-aliases-in-nextjs-2fnc

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

2 participants