Skip to content

Commit a6e4dff

Browse files
committed
adds changelog for vite plugin
1 parent 9a699c3 commit a6e4dff

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: The Cloudflare Vite plugin is now generally available
3+
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!
4+
products:
5+
- workers
6+
date: 2025-04-08T18:00:00Z
7+
hidden: true
8+
---
9+
10+
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/)).
11+
12+
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).
13+
14+
#### Framework support
15+
16+
The Vite plugin is supported in frontend [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.
17+
18+
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 backend API in the same Worker. Follow our [React SPA with an API tutorial](/workers/vite-plugin/tutorial/) to learn how.
19+
20+
#### Configuration
21+
22+
If you're already using [Vite](https://vite.dev/) as your preferred build and development tooling, you can keep using Vite and build applications on Workers — with minimal configuration in your `vite.config.ts`:
23+
24+
```ts title="vite.config.ts"
25+
import { defineConfig } from "vite";
26+
import { cloudflare } from "@cloudflare/vite-plugin";
27+
28+
export default defineConfig({
29+
plugins: [cloudflare()],
30+
});
31+
```
32+
33+
Get started with the Cloudflare Vite plugin by reading our [documentation](/workers/vite-plugin/)!

0 commit comments

Comments
 (0)