mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-17 06:09:50 +02:00
fix
This commit is contained in:
3
info/views/default/index/index.ls
Normal file
3
info/views/default/index/index.ls
Normal file
@ -0,0 +1,3 @@
|
||||
<?lua
|
||||
echo("main page")
|
||||
?>
|
9
info/views/default/layout.ls
Normal file
9
info/views/default/layout.ls
Normal file
@ -0,0 +1,9 @@
|
||||
<?lua
|
||||
echo("<h1>Default page</h1>")
|
||||
|
||||
local args = {...}
|
||||
local views = args[1]
|
||||
if views.__main__ then
|
||||
views.__main__:render()
|
||||
end
|
||||
?>
|
Reference in New Issue
Block a user