feat: initial code, as generated by Rattail Demo site
https://demo.rattailproject.org/generated-projects/new/wutta
This commit is contained in:
commit
9f17ac40d0
22 changed files with 345 additions and 0 deletions
22
wuttademo/web/static/__init__.py
Normal file
22
wuttademo/web/static/__init__.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
# -*- coding: utf-8; -*-
|
||||
"""
|
||||
Static assets
|
||||
"""
|
||||
|
||||
# from fanstatic import Library, Resource
|
||||
|
||||
|
||||
# # libcache
|
||||
# libcache = Library('wuttademo_libcache', 'libcache')
|
||||
# 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_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('wuttaweb.static')
|
||||
config.add_static_view('wuttademo', 'wuttademo.web:static', cache_max_age=3600)
|
2
wuttademo/web/static/libcache/README
Normal file
2
wuttademo/web/static/libcache/README
Normal file
|
@ -0,0 +1,2 @@
|
|||
Place files in this folder, which correspond to the Resource()
|
||||
definitions found in `wuttademo/web/static/__init__.py`
|
Loading…
Add table
Add a link
Reference in a new issue