本页还没有译文
本页 17 段还没译成Español,下面显示的是英文原文。Workers Sites
还没翻译译自英文(developers.cloudflare.com)本页 17 段都还没译
Use Workers Static Assets Instead
You should use Workers Static Assets to host full-stack applications instead of Workers Sites. It has been deprecated in Wrangler v4, and the Cloudflare Vite plugin does not support Workers Sites. Do not use Workers Sites for new projects.
Workers Sites enables developers to deploy static applications directly to Workers. It can be used for deploying applications built with static site generators like Hugo and Gatsby, or front-end frameworks like Vue and React.
To deploy with Workers Sites, select from one of these three approaches depending on the state of your target project:
1. Start from scratch
If you are ready to start a brand new project, this quick start guide will help you set up the infrastructure to deploy a HTML website to Workers.
2. Deploy an existing static site
If you have an existing project or static assets that you want to deploy with Workers, this quick start guide will help you install Wrangler and configure Workers Sites for your project.
Start from an existing static site
3. Add static assets to an existing Workers project
If you already have a Worker deployed to Cloudflare, this quick start guide will show you how to configure the existing codebase to use Workers Sites.
Note
Workers Sites is built on Workers KV, and usage rates may apply. Refer to Pricing to learn more.