Socket
Book a DemoInstallSign in
Socket

@prototyp-stockholm/nuxt-interpolation

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prototyp-stockholm/nuxt-interpolation

Port to nuxt 3/vue 3 of [nuxt-interpolation](https://github.com/daliborgogic/nuxt-interpolation) module.

1.0.5
latest
npmnpm
Version published
Weekly downloads
49
6.52%
Maintainers
4
Weekly downloads
 
Created
Source

Nuxt 3 Interpolation Module

Port to nuxt 3/vue 3 of nuxt-interpolation module.

Which is a:

Nuxt 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 @prototyp-stockholm/nuxt-interpolation as dependency
  • Add @prototyp-stockholm/nuxt-interpolation to modules section of nuxt.config.js
{
  modules: [
    ['@prototyp-stockholm/nuxt-interpolation']
  ]
}

Usage

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

Development

  • Run npm run dev:prepare to generate type stubs.
  • Use npm run dev to start playground in development mode.

FAQs

Package last updated on 30 Dec 2022

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.