My attempt to implement the library mathjax in Nuxt 3 was unsuccessful.
<template>
<div>
<textarea v-model="formula"/>
<vue-mathjax :formula="formula"/>
</div>
</template>
...
/plugins
import VueMathjax from 'vue-mathjax-next';
export default defineNuxtPlugin(({ vueApp }) => {
vueApp.use(VueMathjax)
})
- Client vnode: span
- Server rendered DOM: <!---->
at <VueMathjax formula="$$x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}.$$" >
at <Test onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > >
...
I attempted to utilize the vue-mathjax-next library with Latex rendering, but encountered issues in Nuxt 3.
...