Skip to content
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

Use --category web-framework in Pages Docs #18746

Open
wants to merge 2 commits into
base: production
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/pages/get-started/c3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Cloudflare provides a CLI command for creating new Workers and Pages projects

Open a terminal window and run:

<Render file="c3-run-command-no-directory" product="workers" />
<Render file="c3-run-command-pages-no-directory" product="workers" />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If someone wants to make this partial conditional, go for it, just need to get change landed


Running this command will prompt you to install the [`create-cloudflare`](https://www.npmjs.com/package/create-cloudflare) package, and then ask you questions about the type of application you wish to create.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
{}
---

import { TabItem, Tabs } from "~/components";

<Tabs> <TabItem label="npm">

```sh
npm create cloudflare@latest -- --category web-framework
```

</TabItem>

<TabItem label="yarn">

```sh
yarn create cloudflare@latest -- --category web-framework
```

</TabItem> </Tabs>
Loading