working in dioxus 0.5? #81
-
Does anybody know if Charming is working with dioxus 0.5? I am building a demo site and was inspired by the dioxus-web-demo example. However, I get Uncaught ReferenceError: echarts is not defined. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I am pretty sure this library will only work with dioxus as a web renderer. You need to add apache-echarts in your |
Beta Was this translation helpful? Give feedback.
-
Thanks for the fast answer. I am targeting the web platform, so I think it should work. I include the following:
and then render the graph:
and then use rsx!:
this is the line in the js generated by charming (dist/assets/dioxus/dioxus-charming.js) that throws the error:
I really appreciate your help! |
Beta Was this translation helpful? Give feedback.
-
Do you also include echarts in your |
Beta Was this translation helpful? Give feedback.
-
Working! Thanks so much! |
Beta Was this translation helpful? Give feedback.
Do you also include echarts in your
dioxus.toml
file?