-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
docs: Next.JS Monorepo Guide #13
Conversation
Heyy @Julien-R44 Rather then putting a monorepo inside a monorepo by creating a |
Thanks a lot for the PR! The docs look clear like that Creating a separate repository sounds good for me. You could probably host it under your account ? and we'll reference it in the documentation just like that About the .adonisjs/index.ts file: I’m thinking it might ideally be auto-generated. Then, people could add the missing |
Okay 👍
Yes, it is definitely better to generate it. If you decide to do that, let me know, and I'll happily write it for you. I literally read all the code in |
Hey !
Okay lets do it. Would you like to create the PR to use
Why not bring these improvements to Tuyau isntead? 😼 Otherwise, current PR looks good to me. Let's merge it. Thanks a lot for taking the time to update the documentation and creating an example |
No problem, I'll do it.
Those changes are more improvements for me because i wanted things to work in a different way and format, so i’m not sure how useful they’ll be for Tuyau in general. But i am able to share that repo with you so you can see my changes and if you think there’s anything in there that would help, i’ll be happy to put it into Tuyau itself.
I'm happy to help! Let me know if I can do anything else. |
A page designed to help streamline the process of connecting AdonisJS with a NextJS Frontend using Tuyau in a workspace environment.
Additional:
./.adonisjs/index.ts
file, and reference theadonisrc.ts
file there, we'd be able to access type information there, instead of in the frontend files where we import the API schema, this also allows us to reference other types which we gonna need in one place. ( eg: creating a custom vine rule and declaring it. )