nuxt3-interpolation
TypeScript icon, indicating that this package has built-in type declarations

1.0.16 • Public • Published

nuxt3-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 nuxt3-interpolation as devDependencies
  • Add nuxt3-interpolation to buildModules section of nuxt.config.ts
{
  buildModules: [
    // Fix: exports is not defined in ES module scope
    '~/node_modules/nuxt3-interpolation/index.cjs'
  ]
}

Usage

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

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i nuxt3-interpolation

Weekly Downloads

101

Version

1.0.16

License

MIT

Unpacked Size

10.6 kB

Total Files

8

Last publish

Collaborators

  • dlbr