From 3d7e8e2a486ff2f7657ac5d5167c8ba4fad43080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helmut=20H=C3=A4nsel?= Date: Fri, 16 Feb 2024 17:45:52 +0100 Subject: [PATCH] compatibility with vue2 and vue3 --- src/StipplePlotly.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StipplePlotly.jl b/src/StipplePlotly.jl index 0423dce..6f8526c 100644 --- a/src/StipplePlotly.jl +++ b/src/StipplePlotly.jl @@ -84,7 +84,7 @@ include("Layouts.jl") function __init__() deps_routes() Stipple.deps!(@__MODULE__, deps) - Stipple.register_global_components("plotly", legacy = true) + isdefined(Stipple, :register_global_components) && Stipple.register_global_components("plotly", legacy = true) @require PlotlyBase = "a03496cd-edff-5a9b-9e67-9cda94a718b5" begin @static if !isdefined(Base, :get_extension)