mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-09 03:10:09 +08:00
chore(magic-admin): 更新tmagic
This commit is contained in:
parent
4ad66b27e8
commit
0f073e9441
702
magic-admin/web/package-lock.json
generated
702
magic-admin/web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -9,11 +9,13 @@
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tmagic/editor": "1.1.0",
|
||||
"@tmagic/form": "1.1.0",
|
||||
"@tmagic/schema": "1.1.0",
|
||||
"@tmagic/stage": "1.1.0",
|
||||
"@tmagic/utils": "1.1.0",
|
||||
"@tmagic/design": "1.2.0",
|
||||
"@tmagic/editor": "1.2.0",
|
||||
"@tmagic/element-plus-adapter": "1.2.0",
|
||||
"@tmagic/form": "1.2.0",
|
||||
"@tmagic/schema": "1.2.0",
|
||||
"@tmagic/stage": "1.2.0",
|
||||
"@tmagic/utils": "1.2.0",
|
||||
"axios": "^0.27.2",
|
||||
"axios-jsonp": "^1.0.4",
|
||||
"core-js": "^3.20.0",
|
||||
|
@ -19,7 +19,9 @@
|
||||
import { createApp } from 'vue';
|
||||
import ElementPlus from 'element-plus';
|
||||
|
||||
import TMagicDesign from '@tmagic/design';
|
||||
import MagicEditor, { editorService } from '@tmagic/editor';
|
||||
import MagicElementPlusAdapter from '@tmagic/element-plus-adapter';
|
||||
import MagicForm from '@tmagic/form';
|
||||
|
||||
import App from '@src/app.vue';
|
||||
@ -33,6 +35,7 @@ import '@tmagic/form/dist/style.css';
|
||||
|
||||
const app = createApp(App);
|
||||
app.use(ElementPlus);
|
||||
app.use(TMagicDesign, MagicElementPlusAdapter);
|
||||
app.use(MagicEditor);
|
||||
editorService.usePlugin(editorPlugin);
|
||||
app.use(MagicForm);
|
||||
|
Loading…
x
Reference in New Issue
Block a user