-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:workersRelated to Workers productRelated to Workers product
Description
Existing documentation URL(s)
https://developers.cloudflare.com/workers/frameworks/framework-guides/nextjs/
What changes are you suggesting?
In step 2, the final suggested line is:
experimental_assets = { directory = ".worker-next/assets", binding = "ASSETS" }
when it should in fact be
assets = { directory = ".worker-next/assets", binding = "ASSETS" }
In step 3, the instructions suggest adding to package.json :
"deploy:worker": "npm run build:worker && wrangler deploy"
But this is later referred to incorrectly twice:
First in the last bullet immediately following the package.json instructions:
npm run deploy: Builds your app, and then deploys it to Cloudflare
Then again in step 6:
deploy via the command line:
Terminal window
npm run deploy
Additional information
No response
Metadata
Metadata
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:workersRelated to Workers productRelated to Workers product