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

[Question] 如何扩展内置的插件?插件在哪里下载? #41

Open
DengJianShen opened this issue Dec 19, 2023 · 2 comments
Open

Comments

@DengJianShen
Copy link

以及 是否可以做简单的调试代码的动作?比如我新建了app.js,里面只有一个console.log,该怎么运行起来输出结果
image

@hacke2
Copy link
Member

hacke2 commented Dec 19, 2023

  1. 插件目前托管在内部插件市场上,计划明年对外支持
  2. 运行前端 js 可以用 codeswing 插件,对外可以使用,集成方式参考 https://github.com/opensumi/codeblitz-sample/blob/48e2ba6d7bd2f8e25595ee06c4860626fe164ca7/code/index.tsx#L31

@AhkunTa
Copy link
Member

AhkunTa commented Dec 25, 2023

  • 目前默认插件 存储在内部插件市场中 若想自定义插件以及自行独立部署可以配置 appConfig.extensionOSSPath 自己部署独立服务

  • 所有默认集成的 worker 插件在 lite-worker-extensions 可以自行下载

appConfig: {
     /**
       * 插件OSS地址
       * extensionOSSPath/publisher.name-version
       */
      extensionOSSPath: '',
}

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