新增前端站点

This commit is contained in:
2025-04-30 18:07:45 +08:00
parent b568aad8cc
commit 3a2c9281c1
21 changed files with 1268 additions and 52 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ return [
// 是否启用路由
'with_route' => true,
// 默认应用
'default_app' => 'admin',
'default_app' => 'index',
// 默认时区
'default_timezone' => 'Asia/Shanghai',
+9
View File
@@ -22,4 +22,13 @@ return [
'taglib_begin' => '{',
// 标签库标签结束标记
'taglib_end' => '}',
//定义JS CSS路径
'tpl_replace_string' => [
'__STATIC__' => '/static',
'__ADMIN__' => '/static/admin',
'__CSS__' => '/static/css',
'__JS__' => '/static/js',
],
// 是否开启模板编译缓存,设为false则每次都会重新编译
'tpl_cache' => false,
];