库不再导入katex的css文件,由使用方导入

This commit is contained in:
街角小林
2024-01-03 18:04:19 +08:00
parent a488b436ee
commit 1ad1538699
2 changed files with 1 additions and 1 deletions

View File

@@ -1,6 +1,5 @@
import katex from 'katex'
import Quill from 'quill'
import 'katex/dist/katex.min.css'
import { getChromeVersion } from '../utils/index'
// 数学公式支持插件

View File

@@ -34,6 +34,7 @@
import Sidebar from './Sidebar'
import { mapState, mapMutations } from 'vuex'
import { formulaList } from '@/config/constant'
import 'simple-mind-map/node_modules/katex/dist/katex.min.css'
export default {
name: 'FormulaSidebar',