Nuxt Interpolation Save

Nuxt.js module as directive for binding every link to catch the click event, and if it's a relative link router will push.

Project README

nuxt-interpolation

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

Setup

Install the module

npm install nuxt-interpolation
# or
yarn add nuxt-interpolation

Register the module

{
  modules: [
    'nuxt-interpolation',
  ]
}

Usage

<div v-html="content" v-interpolation></div>

License

MIT

Open Source Agenda is not affiliated with "Nuxt Interpolation" Project. README Source: daliborgogic/nuxt-interpolation

Open Source Agenda Badge

Open Source Agenda Rating