nuxt-interpolation

v0.1.4
Directive for binding every link to catch the click event, and if it's a relative link router will push.
nuxt router links internal external

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

Setup

  • Add nuxt-interpolation as dependency
  • Add nuxt-interpolation to modules section of nuxt.config.js
{
  modules: [
    ['nuxt-interpolation']
  ]
}

Usage

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

License

MIT

Metadata

  • MIT
  • Whatever
  • Dalibor Gogic
  • released 9/13/2018

Downloads

Maintainers