From c4ffd43b7fd0ad7eb55cb1d6fb8d9ba59c74e104 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 3 Apr 2024 14:55:04 +0100 Subject: [PATCH] docs: use new `nuxi module add` command in installation --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 73029cf..2c9c665 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,7 @@ This module will gather those metrics on each page view, and send them to a prov ## Installation ```bash -# yarn -yarn add --dev @nuxtjs/web-vitals - -# npm -npm install --save-dev @nuxtjs/web-vitals +npx nuxi@latest module add web-vitals ``` Add `@nuxtjs/web-vitals` to the `modules` section of your `nuxt.config.js`