| | |
| | | import * as ElementPlusIconsVue from '@element-plus/icons-vue' |
| | | import toolClass from '@/assets/js/toolClass' |
| | | import MG from '@/assets/js/middleGround/WebMiddleGroundApi.js' |
| | | import config from '@/assets/js/config' |
| | | import './child.ts' |
| | | import { loginCtx } from '@/assets/js/config.ts' |
| | | |
| | | // 公式输入 |
| | | import { MathfieldElement } from "mathlive" |
| | | // 公式解析 |
| | | import VueLatex from 'vatex' |
| | | |
| | | |
| | | const handleGetToken = () => { |
| | | return localStorage.getItem('token') |
| | |
| | | |
| | | const app = createApp(App) |
| | | |
| | | |
| | | app.provide('toolClass', toolClass) |
| | | app.provide('MG', MG) |
| | | app.provide('config', config) |
| | | app.use(VueLatex) |
| | | app.use(router) |
| | | app.use(ElementPlus) |
| | | app.use(pinia) |