-
Notifications
You must be signed in to change notification settings - Fork 434
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: add documentation for the Next.js app router #5265
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
@missionmike is attempting to deploy a commit to the Flagsmith Team on Vercel. A member of the Team first needs to authorize it. |
Uffizzi Preview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution @missionmike! I've added a few surface level comments and will defer to @kyle-ssg (who may not have time to look until tomorrow) for the technical side of things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent contribution, thank you so much! @missionmike
Thanks for submitting a PR! Please check the boxes below:
docs/
if required so people know about the feature!Changes
While setting up Flagsmith for the first time in a Next.js v15 project, I had trouble getting it going because I couldn't find docs specific to the App Router. I could only find docs for the Pages Router.
After I worked through setting it up, I thought I'd contribute back to the docs to fill in the gaps.
How did you test this code?
This code is tested manually.
Testing the Docs
cd
intodocs
folder, then runnpm i
followed bynpm run start
:and:
Testing the Code Help Section
To test the code help section, run these steps:
cd
intofrontend
folder, then runnpm i
followed bynpm run dev
: