Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/justforuse/vue-mathjax-next

Vue3 + Mathjax plugin
https://github.com/justforuse/vue-mathjax-next

mathjax vue vue3

Last synced: about 5 hours ago
JSON representation

Vue3 + Mathjax plugin

Awesome Lists containing this project

README

        

# vue-mathjax-next

[![npm](https://img.shields.io/npm/v/vue-mathjax-next.svg) ![npm](https://img.shields.io/npm/dm/vue-mathjax-next.svg)](https://www.npmjs.com/package/vue-mathjax-next)
[![vue3](https://img.shields.io/badge/vue-3.x-brightgreen.svg)](https://vuejs.org/)

vue mathjax for vue3

[Demo](https://codesandbox.io/s/vue3-mathjax-demo-cz683m)

If you use vue 2, please check [vue-mathjax](https://github.com/justforuse/vue-mathjax)

## How to use

```
npm i vue-mathjax-next
```

In your main.js:
```js
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')
```

More options please check [vue-mathjax](https://github.com/justforuse/vue-mathjax), these have same options.