Socket
Book a DemoInstallSign in
Socket

nuxt3-interpolation

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt3-interpolation

> [Nuxt.js](https://github.com/nuxt/framework) 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`

latest
Source
npmnpm
Version
1.0.16
Version published
Weekly downloads
143
2.88%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 20 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts