Skip to content

Commit

Permalink
feat: reexport canvas entry on design-core
Browse files Browse the repository at this point in the history
  • Loading branch information
chilingling committed Jun 7, 2024
1 parent 1724bbc commit b900b3b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion designer-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"vue": "^3.4.21",
"@opentiny/tiny-engine": "workspace:^",
"@opentiny/tiny-engine-entry": "workspace:^",
"@opentiny/tiny-engine-canvas": "workspace:^",
"@opentiny/tiny-engine-configurator": "workspace:*"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion designer-demo/src/canvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
*
*/

import { createRender } from '@opentiny/tiny-engine-canvas'
import { createRender } from '@opentiny/tiny-engine'

createRender(window.parent.TinyGlobalConfig)
1 change: 1 addition & 0 deletions packages/design-core/index.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { init } from './src/init'
export { createRender } from '@opentiny/tiny-engine-canvas'

0 comments on commit b900b3b

Please sign in to comment.