fix: add butterball libcache via fanstatic
using vue 3.4.31 and oruga 0.8.12
This commit is contained in:
parent
5e466be42e
commit
c883e79a2a
10 changed files with 30031 additions and 2 deletions
22
rattail_demo/web/static/__init__.py
Normal file
22
rattail_demo/web/static/__init__.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
# -*- coding: utf-8; -*-
|
||||
"""
|
||||
Static assets
|
||||
"""
|
||||
|
||||
from fanstatic import Library, Resource
|
||||
|
||||
|
||||
# libcache
|
||||
libcache = Library('rattail_demo_libcache', 'libcache')
|
||||
bb_vue_js = Resource(libcache, 'vue.esm-browser-3.4.31.prod.js')
|
||||
bb_oruga_js = Resource(libcache, 'oruga-0.8.12.js')
|
||||
bb_oruga_bulma_js = Resource(libcache, 'oruga-bulma-0.3.0.js')
|
||||
bb_oruga_bulma_css = Resource(libcache, 'oruga-bulma-0.3.0.css')
|
||||
bb_fontawesome_svg_core_js = Resource(libcache, 'fontawesome-svg-core-6.5.2.js')
|
||||
bb_free_solid_svg_icons_js = Resource(libcache, 'free-solid-svg-icons-6.5.2.js')
|
||||
bb_vue_fontawesome_js = Resource(libcache, 'vue-fontawesome-3.0.6.index.es.js')
|
||||
|
||||
|
||||
def includeme(config):
|
||||
config.include('tailbone.static')
|
||||
config.add_static_view('rattail_demo', 'rattail_demo.web:static', cache_max_age=3600)
|
Loading…
Add table
Add a link
Reference in a new issue