I'm not sure whether this is an issue with WGLMakie or with Bonito.
After exporting routes with WGLMakie plots to a directory with export_static(folder::String, routes::Routes), the bundled WGLMakie JavaScript is loaded from bonito/js/bonito/js/wglmakie.bundled.js instead of the correct bonito/js/wglmakie.bundled.js, causing an error and failing to display the plots.
using Bonito, WGLMakie
plotApp = App() do
plot([1],[1])
end
export_static("export", Routes("plotApp" => plotApp))
I'm not sure whether this is an issue with WGLMakie or with Bonito.
After exporting routes with WGLMakie plots to a directory with
export_static(folder::String, routes::Routes)
, the bundled WGLMakie JavaScript is loaded frombonito/js/bonito/js/wglmakie.bundled.js
instead of the correctbonito/js/wglmakie.bundled.js
, causing an error and failing to display the plots.