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`
10,989
8
| Install | |
|---|---|
npm install nuxt3-interpolation |
|
| Latest Version: | 1.0.16 |
| License: | MIT |
| Last Updated: | Apr 3, 2024 |
| Links: | GitHub · npm |
Maintainer: daliborgogic
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-interpolationas devDependencies - Add
nuxt3-interpolationto 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" />
License
Version History
| Version | Released | License |
|---|---|---|
| 1.0.16 | MIT | |
| 1.0.14 | MIT | |
| 1.0.13 | MIT | |
| 1.0.12 | MIT | |
| 1.0.11 | MIT | |
| 1.0.10 | MIT | |
| 1.0.9 | MIT | |
| 1.0.8 | MIT | |
| 1.0.7 | MIT | |
| 1.0.6 | MIT | |
| 1.0.5 | MIT | |
| 1.0.4 | MIT | |
| 1.0.3 | MIT | |
| 1.0.1 | MIT |