fix: add static libcache files for vue2 + buefy
This commit is contained in:
parent
749df597de
commit
3a9f0d751e
|
@ -38,6 +38,9 @@ dependencies = [
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
"sideshow" = "sideshow.cli:sideshow_typer"
|
"sideshow" = "sideshow.cli:sideshow_typer"
|
||||||
|
|
||||||
|
[project.entry-points."fanstatic.libraries"]
|
||||||
|
sideshow_libcache = "sideshow.web.static:libcache"
|
||||||
|
|
||||||
[project.entry-points."paste.app_factory"]
|
[project.entry-points."paste.app_factory"]
|
||||||
"main" = "sideshow.web.app:main"
|
"main" = "sideshow.web.app:main"
|
||||||
|
|
||||||
|
|
|
@ -26,4 +26,4 @@ class SideshowConfig(WuttaConfigExtension):
|
||||||
'sideshow.web.menus:SideshowMenuHandler')
|
'sideshow.web.menus:SideshowMenuHandler')
|
||||||
|
|
||||||
# web app libcache
|
# web app libcache
|
||||||
#config.setdefault('wuttaweb.static_libcache.module', 'sideshow.web.static')
|
config.setdefault('wuttaweb.static_libcache.module', 'sideshow.web.static')
|
||||||
|
|
|
@ -3,11 +3,16 @@
|
||||||
Static assets
|
Static assets
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# from fanstatic import Library, Resource
|
from fanstatic import Library, Resource
|
||||||
|
|
||||||
|
|
||||||
# # libcache
|
# # libcache
|
||||||
# libcache = Library('sideshow_libcache', 'libcache')
|
libcache = Library('sideshow_libcache', 'libcache')
|
||||||
|
vue_js = Resource(libcache, 'vue-2.6.14.min.js')
|
||||||
|
vue_resource_js = Resource(libcache, 'vue-resource-1.5.3.min.js')
|
||||||
|
buefy_js = Resource(libcache, 'buefy-0.9.25.min.js')
|
||||||
|
buefy_css = Resource(libcache, 'buefy-0.9.25.min.css')
|
||||||
|
fontawesome_js = Resource(libcache, 'fontawesome-5.3.1-all.min.js')
|
||||||
# bb_vue_js = Resource(libcache, 'vue.esm-browser-3.3.11.prod.js')
|
# bb_vue_js = Resource(libcache, 'vue.esm-browser-3.3.11.prod.js')
|
||||||
# bb_oruga_js = Resource(libcache, 'oruga-0.8.10.js')
|
# bb_oruga_js = Resource(libcache, 'oruga-0.8.10.js')
|
||||||
# bb_oruga_bulma_js = Resource(libcache, 'oruga-bulma-0.3.0.js')
|
# bb_oruga_bulma_js = Resource(libcache, 'oruga-bulma-0.3.0.js')
|
||||||
|
|
1
src/sideshow/web/static/libcache/buefy-0.9.25.min.css
vendored
Normal file
1
src/sideshow/web/static/libcache/buefy-0.9.25.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
2
src/sideshow/web/static/libcache/buefy-0.9.25.min.js
vendored
Normal file
2
src/sideshow/web/static/libcache/buefy-0.9.25.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
5
src/sideshow/web/static/libcache/fontawesome-5.3.1-all.min.js
vendored
Normal file
5
src/sideshow/web/static/libcache/fontawesome-5.3.1-all.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
src/sideshow/web/static/libcache/vue-2.6.14.min.js
vendored
Normal file
6
src/sideshow/web/static/libcache/vue-2.6.14.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
src/sideshow/web/static/libcache/vue-resource-1.5.3.min.js
vendored
Normal file
7
src/sideshow/web/static/libcache/vue-resource-1.5.3.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue