From ba926ec2de906af548f47b60a8cf31039f34be80 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 7 Feb 2026 17:04:02 -0600 Subject: [PATCH] fix: ensure Buefy version matches what we use for custom css this is an alright solution for now, but may need to improve in the future once we look at Vue 3 etc. basically the only reason this solution isn't terrible, is because buefy 0.9.x (for Vue 2) is "stable" --- src/wuttafarm/web/app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wuttafarm/web/app.py b/src/wuttafarm/web/app.py index 83c9817..5c59434 100644 --- a/src/wuttafarm/web/app.py +++ b/src/wuttafarm/web/app.py @@ -49,11 +49,16 @@ def main(global_config, **settings): app = wutta_config.get_app() path = app.resource_path("wuttafarm.web.static:css/wuttafarm-buefy.css") if os.path.exists(path): + # TODO: this is not robust enough, probably..but works for me/now wutta_config.setdefault( "wuttaweb.liburl.buefy_css", "/wuttafarm/css/wuttafarm-buefy.css" ) + # nb. ensure buefy version matches what we use for custom css + wutta_config.setdefault("wuttaweb.libver.buefy", "0.9.29") + wutta_config.setdefault("wuttaweb.libver.buefy_css", "0.9.29") + # bring in the rest of WuttaFarm pyramid_config.include("wuttafarm.web.static") pyramid_config.include("wuttafarm.web.subscribers")