Vue MathJax for Vue 3

0.0.6 · maintenance · verified Tue Apr 21

Vue-mathjax-next is a plugin designed to integrate MathJax equation rendering into Vue 3 applications. As of its current version, 0.0.6, it provides a straightforward mechanism to use MathJax within Vue components by registering it as a global Vue plugin. This package is specifically built for Vue 3, differentiating it from the older `vue-mathjax` package, which targets Vue 2. It simplifies the setup for displaying mathematical notation (e.g., LaTeX, AsciiMath) by wrapping and handling the initialization of the MathJax 2.7 library within the Vue ecosystem. Given its `0.0.x` versioning and the last update being approximately three years ago, the project appears to be in maintenance mode with a slow release cadence, implying potential API instability and a lack of active feature development. Users should be aware of its dependency on MathJax 2.7, which is an older major version of the MathJax library.

Common errors

Warnings

Install

Imports

Quickstart

Registers the VueMathjax plugin globally for use in a Vue 3 application, enabling MathJax rendering capabilities throughout.

import { createApp } from 'vue'
import VueMathjax from 'vue-mathjax-next';
import App from './App.vue'

const app = createApp(App)
app.use(VueMathjax)

app.mount('#app')

view raw JSON →