costa-vite-myna/config/directory.py

18 lines
355 B
Python
Raw Permalink Normal View History

2024-05-12 02:18:32 +07:00
from core import template
2023-12-15 16:58:00 +07:00
2023-11-04 19:12:11 +07:00
page = {
2024-05-12 02:18:32 +07:00
'public' :'pages/public'
2023-11-04 19:12:11 +07:00
}
2024-05-12 02:18:32 +07:00
static = [
# {
# "route" :"/css/<filepath:re:.*\.(css|sass|css.map)>",
# "root" :"./static/css"
# },
2022-03-16 11:06:52 +07:00
{
"route" :"/assets/<filepath:re:.*\.(js|css|json|svg|woff2?)>",
"root" :"./static/vue/assets"
2024-05-12 02:18:32 +07:00
}
]
template.add(static, "templates")