Ray开发面板小程序 使用RJS引入echarts插件编译报错

小程序开发相关产品技术讨论,包括面板、智能小程序、React Native、Ray跨端框架、Panel SDK、微信小程序、小程序开发工具(IDE)及其他开发技术相关等话题


Post Reply
solex_dev
Posts: 5

-引用案例: rayRjsPlugin
- 基础库版本:2.18.4
- @ray-js/ray:1.4.45 @ray-js/panel-sdk :1.10.0 echarts :5.5.0
- 相关代码:usingPlugins: ['rjs://echarts']

Code: Select all

- 日志信息:[View] Uncaught (in promise) Event {isTrusted: true, type: 'error', target: script, currentTarget: null, eventPhase: 0, …}

- 问题描述(复现步骤):在rjs文件中引入echarts失败,const echarts = await requirePlugin('rjs://echarts');
noyobo
Posts: 15

Re: Ray开发面板小程序 使用RJS引入echarts插件编译报错

无法从帖子内容得到有效的信息

请参考 https://github.com/Tuya-Community/tuya- ... yRjsPlugin 项目使用

solex_dev
Posts: 5

Re: Ray开发面板小程序 使用RJS引入echarts插件编译报错

noyobo 2024年 May 28日 14:18

无法从帖子内容得到有效的信息

请参考 https://github.com/Tuya-Community/tuya- ... yRjsPlugin 项目使用

就是使用的该案例,但是会报错,无法渲染出图表。

Post Reply