VaTex:vue latex的一个插件(基于katex),支持vue2和vue3

时间:2021-08-05 04:15:08
【文件属性】:
文件名称:VaTex:vue latex的一个插件(基于katex),支持vue2和vue3
文件大小:168KB
文件格式:ZIP
更新时间:2021-08-05 04:15:08
latex katex vue-katex vue3 JavaScript 增值税 vue latex 公式显示插件,适用于 Vue2/Vue3。 简单封装katex。 也是的vue3版本,参考了很多代码,在此感谢。 安装 安装 vue-katex 与 katex 作为对等依赖 # With NPM npm i vatex katex # With Yarn yarn add vatex katex Vue2 开发者需要安装 composition-api yarn add @vue/composition-api 入门 Vue3 全球注册 import { createApp } from 'vue' import VueLatex from 'vatex' app . use ( VueLatex ) . mount ( '#app' ) 然后 < vue-latex : expression = " ' \\ frac{a_i}{1+x}
【文件预览】:
VaTex-master
----.gitignore(250B)
----README-zh.md(3KB)
----package.json(3KB)
----.npmrc(35B)
----package-lock.json(379KB)
----src()
--------types()
--------main.ts(197B)
--------lib()
--------App.vue(3KB)
----.stylelintrc.js(516B)
----LICENSE(1KB)
----public()
--------favicon.ico(4KB)
----tsconfig.json(777B)
----.env(335B)
----rollup.config.js(819B)
----.browserslistrc(21B)
----.eslintrc.js(2KB)
----vite.config.ts(335B)
----README.md(5KB)
----.env.development(326B)
----.eslintignore(17B)
----index.html(337B)
----.commitlintrc.js(76B)
----.env.production(326B)
----yarn.lock(287KB)

网友评论