import mathJax from './mathJax' export default function registerDirectives (app) { // 注册全局指令 app.directive(mathJax.name, mathJax.inserted) }