魔方开发套件组件 js 模板 开发步骤 1、编译本地组件代码:mgx dev 2、在魔方我的空间选择测试页面(或创建测试页面),进入到魔方编辑页面,选择 编辑->socket 监听(如果没有 socket 监听选项,请在页面链接拼上参数 debug=1) 3、添加本地开发组件到画布中,实时修改代码,调整代码逻辑 4、上传组件 mgx upload 5、发布组件 mgx publish 参考文档 开发套件使用说明