nuxt-interpolation

0.2.7 • Public • Published

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

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i nuxt-interpolation

    Weekly Downloads

    499

    Version

    0.2.7

    License

    MIT

    Unpacked Size

    7.33 kB

    Total Files

    7

    Last publish

    Collaborators

    • dlbr