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"
This commit is contained in:
parent
19b6738e5d
commit
ba926ec2de
1 changed files with 5 additions and 0 deletions
|
|
@ -49,11 +49,16 @@ def main(global_config, **settings):
|
||||||
app = wutta_config.get_app()
|
app = wutta_config.get_app()
|
||||||
path = app.resource_path("wuttafarm.web.static:css/wuttafarm-buefy.css")
|
path = app.resource_path("wuttafarm.web.static:css/wuttafarm-buefy.css")
|
||||||
if os.path.exists(path):
|
if os.path.exists(path):
|
||||||
|
|
||||||
# TODO: this is not robust enough, probably..but works for me/now
|
# TODO: this is not robust enough, probably..but works for me/now
|
||||||
wutta_config.setdefault(
|
wutta_config.setdefault(
|
||||||
"wuttaweb.liburl.buefy_css", "/wuttafarm/css/wuttafarm-buefy.css"
|
"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
|
# bring in the rest of WuttaFarm
|
||||||
pyramid_config.include("wuttafarm.web.static")
|
pyramid_config.include("wuttafarm.web.static")
|
||||||
pyramid_config.include("wuttafarm.web.subscribers")
|
pyramid_config.include("wuttafarm.web.subscribers")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue