[ ](https://www.npmjs.com/package/vue-mathjax) [](https://vuejs.org/)
npm install vue-mathjax
npm install --save vue-mathjax
`
Usage
❗️❗️Don't forget to import the Mathjax.js:
`
`
---
`
import VueMathjax from 'vue-mathjax'
Vue.use(VueMathjax)
`
OR
`
import {VueMathjax} from 'vue-mathjax'
export default {
...
components: {
'vue-mathjax': VueMathjax
},
...
`
`
`
Props
formula
type: string mathjax string
safe
type: boolean; default: true sometimes you want render the html in your mathjax, so just set it to false. demo: https://codesandbox.io/s/vue-template-ftd5s
options
type: object; default: {}` custom configurations