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

playground启动vue2报错 #82

Closed
Lilian0217 opened this issue May 20, 2022 · 0 comments · Fixed by #91
Closed

playground启动vue2报错 #82

Lilian0217 opened this issue May 20, 2022 · 0 comments · Fixed by #91

Comments

@Lilian0217
Copy link

本地启动runtime-vue2
修改如下:
package.json "playground": "lerna run dev --scope tmagic-playground --scope runtime-vue2 --parallel", 默认vue3 改为runtime-vue2
playground\src\pages\Editor.vue const RUNTIME_PATH = '/tmagic-editor/playground/runtime/vue2'; 默认vue3改为vue2
npm run playground 启动正常,页面中间的工作区域为空。

控制台报错如下:
GET http:https://localhost:8101/tmagic-editor/playground/runtime/vue2/assets/event.js net::ERR_ABORTED 404 (Not Found)

[Vue warn]: Error in data(): "TypeError: Cannot read properties of null (reading 'config')"
found in
--->


TypeError: Cannot read properties of null (reading 'config')
[Vue warn]: Error in render: "TypeError: e.display is not a function"

以上,麻烦看一下。
谢谢!

jia000 pushed a commit that referenced this issue May 25, 2022
vue2 react runtime path 出错导致vue2 react playground运行出错;vue2中存在多个composition-api导致出错

fix #82 fix #68
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

Successfully merging a pull request may close this issue.

1 participant