Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按官网操作,页面显示不了 #489

Open
yyq914828jzg opened this issue Mar 4, 2023 · 5 comments
Open

按官网操作,页面显示不了 #489

yyq914828jzg opened this issue Mar 4, 2023 · 5 comments

Comments

@yyq914828jzg
Copy link

yyq914828jzg commented Mar 4, 2023

按官网案例写了一个demo,渲染不出来,
渲染成了framework code-options="[object Object]"

@Capchen
Copy link
Contributor

Capchen commented Mar 6, 2023

你是指运行page.html插入DSL.js之后渲染不出来,还是自己写了个自定义组件渲染不出来

@yyq914828jzg
Copy link
Author

我按官网的快速开始指引一步步操作,最终运行项目,就渲染成了framework code-options="[object Object]"标签

@Capchen
Copy link
Contributor

Capchen commented Mar 6, 2023

可以对比下源码的playground 和 runtime 示例看看

@yyq914828jzg
Copy link
Author

yyq914828jzg commented Mar 6, 2023

您好,请问一下自己项目里的runtimeUrl怎么配置呢

@jia000
Copy link
Collaborator

jia000 commented Mar 6, 2023

您好,请问一下自己项目里的runtimeUrl怎么配置呢

一般至少是需要两个项目的,一个是运行editor的编辑器平台,还有一个就是runtime项目,runtime构建出来的产物部署到哪就配置对应的url,如果是开发环境那么dev-server启的是哪个url就配哪个,如果出现跨域,需要配置proxy的,则配置对应的就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants