-
Notifications
You must be signed in to change notification settings - Fork 133
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
Documentation: Mention expected workflow for local builds and dev mode. #603
Comments
Hi @janpio thanks a lot for the issue 🙂 For now I've documented the recommended workflow here: https://github.com/cloudflare/next-on-pages/tree/main/internal-packages/next-dev#recommended-workflow (yeah not super discoverable, is it? 😓) The |
Thank you for the info, it helped me a lot. Maybe it helps others who read this: while the
instead of:
|
Also it's worth mentioning that
Full list of options is available here. Note that if you change the persist path and want to have both
vs
|
I'm closing this issue since (it is also getting updated with the newer Hopefully this is enough, @janpio and @antsorin please let me know if you think it isn't (@antsorin in our docs we didn't include options to try not to be too verbose there... I hope that typescript and IDE intellisense/autocompletion should get people discover all the various options if need be, please let me know if you disagree 🙂) |
I agree. 🙂 My comment also pointed out a small inconsistency related to the
It's not super important, I just wrote about it in case someone finds it helpful. |
Thanks @antsorin 😄 Yeah I feel like that small inconsistency can trip someone over 😓, thanks for the reminder... It might be worth pointing out I've opened this PR in our docs repo: cloudflare/cloudflare-docs#13070 Please let me know what you think 🙂 PS: Note that this is in the generic Cloudflare docs and not in this repo's docs because in the
|
Looks great to me, thanks for adding the note! |
https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/, the main documentation for this approach, does not mention how to locally use
build
,dev
,pages:build
, andpages:dev
to develop. I think it would be very nice to add that.Related question in Discord #next-on-pages: https://discord.com/channels/595317990191398933/1135899572141568050/1186764035497140335
The text was updated successfully, but these errors were encountered: