diff options
author | 2023-07-07 15:28:30 +0700 | |
---|---|---|
committer | 2023-07-07 09:28:30 +0100 | |
commit | 6bf20b62ce9f7eaaa1dbec65bb697bb935214f61 (patch) | |
tree | 297c8e41d2a02b3fc666419d53c8430162e6578d | |
parent | f224078a65c3ff4cd0ba88206772b0dcbcd29c24 (diff) | |
download | astro-6bf20b62ce9f7eaaa1dbec65bb697bb935214f61.tar.gz astro-6bf20b62ce9f7eaaa1dbec65bb697bb935214f61.tar.zst astro-6bf20b62ce9f7eaaa1dbec65bb697bb935214f61.zip |
docs(cloudflare): fix code snippet in enabling preview (#7591)
-rw-r--r-- | packages/integrations/cloudflare/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/cloudflare/README.md b/packages/integrations/cloudflare/README.md index a6638f36d..7f4292d97 100644 --- a/packages/integrations/cloudflare/README.md +++ b/packages/integrations/cloudflare/README.md @@ -66,7 +66,7 @@ export default defineConfig({ In order for preview to work you must install `wrangler` ```sh -$ pnpm install wrangler --save-dev +pnpm install wrangler --save-dev ``` It's then possible to update the preview script in your `package.json` to `"preview": "wrangler pages dev ./dist"`. This will allow you to run your entire application locally with [Wrangler](https://github.com/cloudflare/wrangler2), which supports secrets, environment variables, KV namespaces, Durable Objects and [all other supported Cloudflare bindings](https://developers.cloudflare.com/pages/platform/functions/#adding-bindings). |