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
⚠️ For Nuxt 2, see here
npm install nuxt3-interpolation
# or
yarn add nuxt3-interpolation
{
buildModules: [
// Error: exports is not defined in ES module scope
// 'nuxt3-interpolation'
// Fix
'~/node_modules/nuxt3-interpolation/index.cjs'
]
}
<div v-html="html" v-interpolation />