mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 16:46:19 +08:00
16 lines
413 B
TypeScript
16 lines
413 B
TypeScript
import type { App } from 'vue';
|
|
import codeEditor from './src/CodeEditor.vue';
|
|
import jsonPreview from './src/json-preview/JsonPreview.vue';
|
|
|
|
export const CodeEditor = Object.assign(codeEditor, {
|
|
install(app: App) {
|
|
app.component(codeEditor.name, codeEditor);
|
|
},
|
|
});
|
|
|
|
export const JsonPreview = Object.assign(jsonPreview, {
|
|
install(app: App) {
|
|
app.component(jsonPreview.name, jsonPreview);
|
|
},
|
|
});
|