Skip to content

Commit 56d9436

Browse files
authored
Apply suggestions from code review
1 parent b9ecdd8 commit 56d9436

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/content/changelog/workers/2025-04-08-vite-plugin.mdx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
---
2-
title: The Cloudflare Vite plugin is now generally available
2+
title: The Cloudflare Vite plugin is now Generally Available
33
description: Cloudflare Vite Plugin 1.0 is out now — with official support for Vite 6, React Router v7, and the full Developer Platform. Now you can run Vite’s dev server locally, while executing your code directly in the Workers runtime!
44
products:
55
- workers
66
date: 2025-04-08T18:00:00Z
77
---
88

9-
We're excited to announce that the official [Cloudflare Vite plugin](/workers/vite-plugin/) has [reached v1.0](https://blog.cloudflare.com/introducing-the-cloudflare-vite-plugin) and is now **generally available**. The Vite plugin allows you to run [Vite's](https://vite.dev/) development server in the Workers runtime (`workerd`), meaning you get all the benefits of Vite (including [Hot Module Replacement](https://vite.dev/guide/features.html#hot-module-replacement)) while still being able to use features that are exclusive to Workers ([like Durable Objects](/durable-objects/)).
9+
The [Cloudflare Vite plugin](/workers/vite-plugin/) has [reached v1.0](https://blog.cloudflare.com/introducing-the-cloudflare-vite-plugin) and is now Generally Available ("GA").
1010

11-
This effort was done [🧡 in partnership with the Vite team 🧡](https://blog.cloudflare.com/introducing-the-cloudflare-vite-plugin) and made by possible with their new [environment API](https://vite.dev/guide/api-environment).
11+
When you use `@cloudflare/vite-plugin`, you can use Vite's local development server and build tooling, while ensuring that while developing, your code runs in [`workerd`](https://github.com/cloudflare/workerd), the open-source Workers runtime.
12+
13+
This lets you get the best of both worlds for a full-stack app — you can use [Hot Module Replacement](https://vite.dev/guide/features.html#hot-module-replacement) from Vite right alongside [Durable Objects](/durable-objects/) and other runtime APIs and bindings that are unique to Cloudflare Workers.
14+
15+
`@cloudflare/vite-plugin` is made possible by the new [environment API](https://vite.dev/guide/api-environment) in Vite, and was built [in partnership with the Vite team](https://blog.cloudflare.com/introducing-the-cloudflare-vite-plugin).
1216

1317
#### Framework support
1418

15-
The Vite plugin is supported in front-end [frameworks](/workers/frameworks/) (for building single page applications and static sites) as well as [React Router v7](/workers/frameworks/framework-guides/react-router/) (for building server-side rendered applications). For an example, check out [this full-stack application](https://github.com/cloudflare/templates/tree/main/react-router-postgres-ssr-template) built using React Router v7 and the Vite plugin.
19+
You can build any type of application with `@cloudflare/vite-plugin`, using any rendering mode, from single page applications (SPA) and static sites to server-side rendered (SSR) pages and API routes.
20+
21+
[React Router v7 (Remix)](/workers/frameworks/framework-guides/react-router/) is the first full-stack framework to provide full support for Cloudflare Vite plugin, allowing you to use all parts of Cloudflare's developer platform, without additional build steps.
1622

17-
You can also build complete full-stack apps on Workers **without a framework**: ["just use Vite"](https://blog.cloudflare.com/introducing-the-cloudflare-vite-plugin) and React together, and build a back-end API in the same Worker. Follow our [React SPA with an API tutorial](/workers/vite-plugin/tutorial/) to learn how.
23+
You can also build complete full-stack apps on Workers **without a framework** ["just use Vite"](https://blog.cloudflare.com/introducing-the-cloudflare-vite-plugin) and React together, and build a back-end API in the same Worker. Follow our [React SPA with an API tutorial](/workers/vite-plugin/tutorial/) to learn how.
1824

1925
#### Configuration
2026

0 commit comments

Comments
 (0)