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下npm run build。dist目录下得不到runtime文件夹 #479

Closed
LdPz-ROOM opened this issue Feb 14, 2023 · 2 comments
Closed

Comments

@LdPz-ROOM
Copy link

在管理端中我们提供了一个可视化的模拟画布,他需要依赖 runtime 核心库,因此我们需要先在 magic 根目录下运行

cd magic
npm run build

将 /playground/dist/runtime 文件夹复制到 /magic-admin/web/public 和 /magic-admin/server/assets 目录下。web 下的 runtime 提供给模拟画布使用,server 下的 runtime 提供给发布后的页面来使用。

@jia000
Copy link
Collaborator

jia000 commented Feb 14, 2023

文档描述不准确,应该是 npm run build:runtime:admin,然后将/runtime/vue3|vue2|react/dist 复制到 /magic-admin/serve/static中

@jia000 jia000 closed this as completed in 8369b2c Feb 14, 2023
@LdPz-ROOM
Copy link
Author

怎么样才能唤管理端可视化的模拟画布,按照上面步骤执行,启动后台还是看见的创建项目的界面,这一块相关的有文档吗

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

2 participants