mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +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 Engine, { Panes } from '@ali/visualengine';
|
||||
import getTrunkPane from '@ali/ve-trunk-pane';
|
||||
import Preview from '@ali/lowcode-plugin-sample-preview';
|
||||
import SourceEditor from '@ali/lowcode-plugin-source-editor';
|
||||
import EventBindDialog from '@ali/lowcode-plugin-event-bind-dialog';
|
||||
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({
|
||||
area: 'topArea',
|
||||
type: 'Dock',
|
||||
|
||||
@ -7,6 +7,9 @@ import SettingsPane from '@ali/lowcode-plugin-settings-pane';
|
||||
import DesignerPlugin from '@ali/lowcode-plugin-designer';
|
||||
import { Skeleton } from './skeleton/skeleton';
|
||||
|
||||
|
||||
import Preview from '@ali/lowcode-plugin-sample-preview';
|
||||
|
||||
registerSetters();
|
||||
|
||||
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