From 6bf20b62ce9f7eaaa1dbec65bb697bb935214f61 Mon Sep 17 00:00:00 2001 From: Yusuf Date: Fri, 7 Jul 2023 15:28:30 +0700 Subject: [PATCH] docs(cloudflare): fix code snippet in enabling preview (#7591) --- packages/integrations/cloudflare/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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).