01 引用

从画板中引入设计组件,需要先把画板创建为组件(create component),本例中为 Content,然后在代码中引用。

  1. import { Content } from "./canvas"

02 使用

引用时和其他 module 方法一致。

<Content/>