From 3e52946c44d9d53c5a6847f6462e9e7f14ecc589 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 3 Apr 2024 13:03:58 +0100 Subject: [PATCH 1/2] docs: use new `nuxi module add` command in installation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 923151d..d45b112 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ You can set environment variable `NODE_ENV` to `production` for testing in dev m ## Setup -- Add `nuxt-cloudflare-analytics` dependency using yarn or npm to your project `npm i nuxt-cloudflare-analytics` or `yarn install nuxt-cloudflare-analytics` +- Add `nuxt-cloudflare-analytics` dependency using yarn or npm to your project `npx nuxi@latest module add cloudflare-analytics - Add `nuxt-cloudflare-analytics` to `modules` section of `nuxt.config.ts` ```ts From e75a3a8d64404b3858ea8d4eed08e9f23f09d197 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 3 Apr 2024 13:04:36 +0100 Subject: [PATCH 2/2] chore: update wording --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d45b112..a07d8e4 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ You can set environment variable `NODE_ENV` to `production` for testing in dev m ## Setup -- Add `nuxt-cloudflare-analytics` dependency using yarn or npm to your project `npx nuxi@latest module add cloudflare-analytics +- Add `nuxt-cloudflare-analytics` dependency to your project with `npx nuxi@latest module add cloudflare-analytics` - Add `nuxt-cloudflare-analytics` to `modules` section of `nuxt.config.ts` ```ts