Skip to content

Commit 2b5544d

Browse files
chore: Update Docusaurus setup command arguments
The redundant "--" causes an error: unknown option '--framework=docusaurus'
1 parent 9a16f64 commit 2b5544d

File tree

1 file changed

+2
-2
lines changed
  • src/content/docs/workers/framework-guides/web-apps/more-web-frameworks

1 file changed

+2
-2
lines changed

src/content/docs/workers/framework-guides/web-apps/more-web-frameworks/docusaurus.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
<PackageManagers
2424
type="create"
2525
pkg="cloudflare@latest"
26-
args="my-docusaurus-app --framework=docusaurus"
26+
args="my-docusaurus-app --framework=docusaurus --platform=workers"
2727
/>
2828

2929
**Or just deploy**: Create a documentation site with Docusaurus and deploy it on Cloudflare Workers, with CI/CD and previews all set up for you.
@@ -43,7 +43,7 @@ Docusaurus is designed to be easy to use and customizable, making it a popular c
4343
<PackageManagers
4444
type="create"
4545
pkg="cloudflare@latest"
46-
args={"my-docusaurus-app -- --framework=docusaurus --platform=workers"}
46+
args={"my-docusaurus-app --framework=docusaurus --platform=workers"}
4747
/>
4848

4949
<Details header="What's happening behind the scenes?">

0 commit comments

Comments
 (0)