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

[C3] Consistently use full official full stack framework names #19007

Merged
merged 2 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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: 2 additions & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,8 @@
/pages/how-to/deploy-a-vue-application/ /pages/framework-guides/deploy-a-vue-site/ 301
/pages/functions/plugins/mailchannels/ /workers/tutorials/send-emails-with-resend/ 301
/pages/framework-guides/deploy-a-vue-application/ /pages/framework-guides/deploy-a-vue-site 301
/pages/framework-guides/deploy-a-solid-site/ /pages/framework-guides/deploy-a-solid-start-site/ 301
/pages/framework-guides//pages/framework-guides/deploy-a-svelte-site/ /pages/framework-guides/deploy-a-svelte-kit-site/ 301
/pages/how-to/deploy-a-zola-site/ /pages/framework-guides/deploy-a-zola-site/ 301
/pages/how-to/elderjs/ /pages/framework-guides/deploy-an-elderjs-site/ 301
/pages/configuration/language-support-and-tools/ /pages/configuration/build-image/ 301
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/d1/examples/d1-and-sveltekit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { TabItem, Tabs } from "~/components"

To set up a new SvelteKit site on Cloudflare Pages that can query D1:

1. **Refer to [the Svelte guide](/pages/framework-guides/deploy-a-svelte-site/) and Svelte's [Cloudflare adapter](https://kit.svelte.dev/docs/adapter-cloudflare)**.
1. **Refer to [the Svelte guide](/pages/framework-guides/deploy-a-svelte-kit-site/) and Svelte's [Cloudflare adapter](https://kit.svelte.dev/docs/adapter-cloudflare)**.
dario-piotrowicz marked this conversation as resolved.
Show resolved Hide resolved
2. Install the Cloudflare adapter within your SvelteKit project: `npm i -D @sveltejs/adapter-cloudflare`.
3. Bind a D1 database [to your Pages Function](/pages/functions/bindings/#d1-databases).
4. Pass the `--d1 BINDING_NAME=DATABASE_ID` flag to `wrangler dev` when developing locally. `BINDING_NAME` should match what call in your code, and `DATABASE_ID` should match the `database_id` defined in your wrangler.toml: for example, `--d1 DB=xxxx-xxxx-xxxx-xxxx-xxxx`.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
pcx_content_type: how-to
title: Solid
title: SolidStart
---

import { Render, PackageManagers } from "~/components";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
pcx_content_type: how-to
title: SvelteKit
description: Learn how to use Cloudflare's features with SvelteKit
Copy link
Member Author

Choose a reason for hiding this comment

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

This description seems pretty outdated, also the rest of the frameworks don't seem to generally include a description, that's why I've removed it

---

import { PagesBuildPreset, Render, PackageManagers } from "~/components";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Elder.js

import { PagesBuildPreset, Render } from "~/components";

[Elder.js](https://elderguide.com/tech/elderjs/) is an SEO-focused framework for building static sites with [Svelte](/pages/framework-guides/deploy-a-svelte-site/).
[Elder.js](https://elderguide.com/tech/elderjs/) is an SEO-focused framework for building static sites with [Svelte](/pages/framework-guides/deploy-a-svelte-kit-site/).
dario-piotrowicz marked this conversation as resolved.
Show resolved Hide resolved

In this guide, you will create a new Elder.js application and deploy it using Cloudflare Pages.

Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/pages/get-started/c3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ If you choose the "Framework Starter" option, you will be prompted to choose a f
- [Qwik](/pages/framework-guides/deploy-a-qwik-site/)
- [React](/pages/framework-guides/deploy-a-react-site/)
- [Remix](/pages/framework-guides/deploy-a-remix-site/)
- [Solid](/pages/framework-guides/deploy-a-solid-site/)
- [Svelte](/pages/framework-guides/deploy-a-svelte-site/)
- [SolidStart](/pages/framework-guides/deploy-a-solid-start-site/)
- [SvelteKit](/pages/framework-guides/deploy-a-svelte-kit-site/)
- [Vue](/pages/framework-guides/deploy-a-vue-site/)

When you use a framework, `npm create cloudflare` directly uses the framework's own command for generating a new projects, which may prompt additional questions. This ensures that the project you create is up-to-date with the latest version of the framework, and you have all the same options when creating you project via `npm create cloudflare` that you would if you created your project using the framework's tooling directly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cloudflared version 2021.5.9 (built 2021-05-21-1541 UTC)

## Run a local service

The easiest way to get up and running with Cloudflare Tunnel is to have an application running locally, such as a [React](/pages/framework-guides/deploy-a-react-site/) or [Svelte](/pages/framework-guides/deploy-a-svelte-site/) site. When you are developing an application with these frameworks, they will often make use of a `npm run develop` script, or something similar, which mounts the application and runs it on a `localhost` port. For example, the popular `vite` tool runs your in-development React application on port `5173`, making it accessible at the `http://localhost:5173` address.
The easiest way to get up and running with Cloudflare Tunnel is to have an application running locally, such as a [React](/pages/framework-guides/deploy-a-react-site/) or [Svelte](/pages/framework-guides/deploy-a-svelte-kit-site/) site. When you are developing an application with these frameworks, they will often make use of a `npm run develop` script, or something similar, which mounts the application and runs it on a `localhost` port. For example, the popular `vite` tool runs your in-development React application on port `5173`, making it accessible at the `http://localhost:5173` address.
dario-piotrowicz marked this conversation as resolved.
Show resolved Hide resolved

## Start a Cloudflare Tunnel

Expand Down
Loading