Skip to content

Commit 4425872

Browse files
committed
Used absolute URLs
1 parent 1d3dc6a commit 4425872

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/content/docs/workers/vite-plugin/debugging.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: Debugging with the Vite plugin
88
---
99

1010
The Cloudflare Vite plugin has debugging enabled by default and listens on port `9229`.
11-
You may choose a custom port or disable debugging by setting the `inspectorPort` option in the [plugin config](../api#interface-pluginconfig).
11+
You may choose a custom port or disable debugging by setting the `inspectorPort` option in the [plugin config](/workers/vite-plugin/api#interface-pluginconfig).
1212
There are two recommended methods for debugging your Workers during local development:
1313

1414
### DevTools

src/content/docs/workers/vite-plugin/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ Your Worker code runs inside [workerd](https://github.com/cloudflare/workerd), m
3030

3131
{/* Add link to React Router framework guide */}To create a new application from a ready-to-go template, refer to the [React](/workers/frameworks/framework-guides/react/) or [Vue](/workers/frameworks/framework-guides/vue/) framework guides.
3232

33-
To create a standalone Worker from scratch, refer to [Get started](./get-started/).
33+
To create a standalone Worker from scratch, refer to [Get started](/workers/vite-plugin/get-started/).
3434

35-
For a more in-depth look at adapting an existing Vite project and an introduction to key concepts, refer to the [Tutorial](./tutorial/).
35+
For a more in-depth look at adapting an existing Vite project and an introduction to key concepts, refer to the [Tutorial](/workers/vite-plugin/tutorial/).

src/content/docs/workers/vite-plugin/migrating-from-wrangler-dev.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar:
77
description: Migrating from wrangler dev to the Vite plugin
88
---
99

10-
In most cases, migrating from `wrangler dev` is straightforward and you can follow the instructions in [Get started](../get-started/).
10+
In most cases, migrating from `wrangler dev` is straightforward and you can follow the instructions in [Get started](/workers/vite-plugin/get-started/).
1111
There are a few key differences to highlight:
1212

1313
### Input and output Worker config files
@@ -21,14 +21,14 @@ Once you have run `vite build`, running `wrangler deploy` will automatically loc
2121

2222
With the Cloudflare Vite plugin, Cloudflare environments are applied at dev and build time.
2323
Running `wrangler deploy --env some-env` is therefore not applicable and the environment to deploy should instead be set by running `CLOUDFLARE_ENV=some-env vite build`.
24-
See [Cloudflare Environments](../cloudflare-environments/) for more information.
24+
See [Cloudflare Environments](/workers/vite-plugin/cloudflare-environments/) for more information.
2525

2626
### Redundant fields in the Wrangler config file
2727

2828
There are various options in the Worker config file that are ignored when using Vite, as they are either no longer applicable or are replaced by Vite equivalents.
2929
If these options are provided, then warnings will be printed to the console with suggestions for how to proceed.
3030
Examples where the Vite configuration should be used instead include `alias` and `define`.
31-
See [Vite Environments](../vite-environments/) for more information about configuring your Worker environments in Vite.
31+
See [Vite Environments](/workers/vite-plugin/vite-environments/) for more information about configuring your Worker environments in Vite.
3232

3333
### Local only data during local development
3434

src/content/docs/workers/vite-plugin/secrets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: Using secrets with the Vite plugin
1010
import { PackageManagers, WranglerConfig } from "~/components";
1111

1212
Secrets can be provided to your Worker in local development using a [`.dev.vars`](/workers/configuration/secrets/#local-development-with-secrets) file.
13-
If you are using [Cloudflare Environments](../cloudflare-environments) then the relevant `.dev.vars` file will be selected.
13+
If you are using [Cloudflare Environments](/workers/vite-plugin/cloudflare-environments/) then the relevant `.dev.vars` file will be selected.
1414
For example, `CLOUDFLARE_ENV=staging vite dev` will load `.dev.vars.staging` if it exists and fall back to `.dev.vars`.
1515

1616
:::note

src/content/docs/workers/vite-plugin/vite-environments.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default defineConfig({
5656

5757
For more information about Vite's configuration options, see [Configuring Vite](https://vite.dev/config/).
5858

59-
The default behavior of using the Worker name as the environment name is appropriate when you have a standalone Worker, such as an API that is accessed from your front-end application, or an [auxiliary Worker](../api/#interface-pluginconfig) that is accessed via service bindings.
59+
The default behavior of using the Worker name as the environment name is appropriate when you have a standalone Worker, such as an API that is accessed from your front-end application, or an [auxiliary Worker](/workers/vite-plugin/api/#interface-pluginconfig) that is accessed via service bindings.
6060

6161
### React Router v7
6262

0 commit comments

Comments
 (0)