nuxt3-interpolation
v1.0.16
Published
> [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`
Downloads
719
Readme
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 ofnuxt.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" />