mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-15 10:48:17 +00:00
joint preview
This commit is contained in:
parent
9f66f458e8
commit
79827dc8b9
@ -3,7 +3,6 @@ import { createElement } from 'react';
|
|||||||
import { Button } from '@alifd/next';
|
import { Button } from '@alifd/next';
|
||||||
import Engine, { Panes } from '@ali/visualengine';
|
import Engine, { Panes } from '@ali/visualengine';
|
||||||
import getTrunkPane from '@ali/ve-trunk-pane';
|
import getTrunkPane from '@ali/ve-trunk-pane';
|
||||||
import Preview from '@ali/lowcode-plugin-sample-preview';
|
|
||||||
import SourceEditor from '@ali/lowcode-plugin-source-editor';
|
import SourceEditor from '@ali/lowcode-plugin-source-editor';
|
||||||
import EventBindDialog from '@ali/lowcode-plugin-event-bind-dialog';
|
import EventBindDialog from '@ali/lowcode-plugin-event-bind-dialog';
|
||||||
import loadUrls from './loader';
|
import loadUrls from './loader';
|
||||||
@ -52,15 +51,7 @@ skeleton.add({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
skeleton.add({
|
|
||||||
area: 'topArea',
|
|
||||||
type: 'Dock',
|
|
||||||
name: 'preview',
|
|
||||||
props: {
|
|
||||||
align: 'right',
|
|
||||||
},
|
|
||||||
content: Preview,
|
|
||||||
});
|
|
||||||
skeleton.add({
|
skeleton.add({
|
||||||
area: 'topArea',
|
area: 'topArea',
|
||||||
type: 'Dock',
|
type: 'Dock',
|
||||||
|
|||||||
@ -7,6 +7,9 @@ import SettingsPane from '@ali/lowcode-plugin-settings-pane';
|
|||||||
import DesignerPlugin from '@ali/lowcode-plugin-designer';
|
import DesignerPlugin from '@ali/lowcode-plugin-designer';
|
||||||
import { Skeleton } from './skeleton/skeleton';
|
import { Skeleton } from './skeleton/skeleton';
|
||||||
|
|
||||||
|
|
||||||
|
import Preview from '@ali/lowcode-plugin-sample-preview';
|
||||||
|
|
||||||
registerSetters();
|
registerSetters();
|
||||||
|
|
||||||
export const editor = new Editor();
|
export const editor = new Editor();
|
||||||
@ -41,3 +44,12 @@ skeleton.add({
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
skeleton.add({
|
||||||
|
area: 'topArea',
|
||||||
|
type: 'Dock',
|
||||||
|
name: 'preview',
|
||||||
|
props: {
|
||||||
|
align: 'right',
|
||||||
|
},
|
||||||
|
content: Preview,
|
||||||
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user