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
- Add
nuxt-interpolation
as dependency - Add
nuxt-interpolation
to modules section ofnuxt.config.js
{
modules: [
['nuxt-interpolation']
]
}
<div v-interpolation v-html="content"></div>