From 42bdfb3a25957ece8ef1002f3aaa62322c90bcb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20LeBlanc?= Date: Fri, 5 May 2023 11:53:21 -0400 Subject: [PATCH 1/2] Link to nuxt3 version --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 57a7ae3..6d93166 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,23 @@ -# interpolation +# nuxt-interpolation > [Nuxt.js](https://github.com/nuxt/nuxt.js/) module as directive for binding every link to catch the click event, and if it's a relative link router will push. For improved security `rel="noopener"` will be added automatically if target is `_blank` +> :warning: For Nuxt 3, see [here](https://github.dev/daliborgogic/interpolation) + ## Setup -- Add ```nuxt-interpolation``` as dependency -- Add ```nuxt-interpolation``` to modules section of ```nuxt.config.js``` +### Install the module +``` +npm install nuxt-interpolation +# or +yarn add nuxt-interpolation +``` +### Register the module ```javascript { modules: [ - ['nuxt-interpolation'] + 'nuxt-interpolation', ] } ``` @@ -18,7 +25,7 @@ ## Usage ```html -
+
``` ## License From e61fb2cd0c6e1ef085d795c764058fb66d45d475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20LeBlanc?= Date: Mon, 9 Oct 2023 13:16:52 -0400 Subject: [PATCH 2/2] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sébastien Chopin --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d93166..5414d76 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ > [Nuxt.js](https://github.com/nuxt/nuxt.js/) module as directive for binding every link to catch the click event, and if it's a relative link router will push. For improved security `rel="noopener"` will be added automatically if target is `_blank` -> :warning: For Nuxt 3, see [here](https://github.dev/daliborgogic/interpolation) +> :warning: For Nuxt 3, see [here](https://github.com/daliborgogic/interpolation) ## Setup