-
Notifications
You must be signed in to change notification settings - Fork 21
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 it not work for app dir route handlers? #178
Comments
Thanks @rafbgarcia. Checkout #170 and let me know if you still have questions. |
@tatethurston thanks! I have a question, I haven't tested NextJS typed links yet, but it only seems to support the Link component. However, I find nextjs-routes very useful when I need to generate a route in other places, such as using the Can NextJS solution do that? Also, nextjs-routes already works for the app directory, the only issue I faced so far was this one, that it doesn't type the route handlers. Thanks again :) |
Per #170 I believe there may be a few additional changes necessary when using the app directory. Personally, I haven't used the app router non trivially yet, so I have some knowledge gaps here. That said, if you're you're running with this and find it covers some use cases that Next's experimental solution doesn't, I'm happy to add functionality to cover any gaps or rough edges you run into. I'll ship route handler support in a moment. |
@tatethurston works great, thank you very much!! ❤️ |
Hi, thanks for the lib! <3
Nextjs-routes works great with pages but it's not generating the type for a route handler I created.
Is this accurate? Or should it work fine for route handlers too?
Thanks!
The text was updated successfully, but these errors were encountered: