nuxt-interpolation

Directive for binding every link to catch the click event, and if it's a relative link router will push.
13,801 44
Install
npm install nuxt-interpolation
Latest Version:0.2.7
License:MIT
Last Updated:Oct 9, 2023
Links: GitHub  ·  npm
Maintainer: daliborgogic

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

Related Packages

@scayle/storefront-nuxt

Nuxt integration for the SCAYLE Commerce Engine and Storefront API

152,903
nuxt-tsconfig-stub

Stub Nuxt's generated tsconfig.json at installation

70,835 24
kuranuxt

Look at the Nuxt 3 documentation to learn more.

871 0
@dolanske/pantry

Front-end framework combining the UI components of Cascade and routing of Crumbs...

434 1
@byu-oit/nuxt-sis-access-management

Nuxt plugin the facilitates routing features specific to the Student Information...

1,674

Version History

Version Released License
0.2.7 MIT
0.2.6 MIT
0.2.3 MIT
0.2.2 MIT
0.2.1 MIT