FAILURE STATE

This commit is contained in:
2026-01-01 11:41:43 -05:00
parent 9364df2645
commit 7fbf8ae8c2
25 changed files with 1713 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
[app]
name = "lua-include"
version = "0.0.1"
authors = ["fSD"]

View File

@@ -0,0 +1,33 @@
# lua-include
```
fes new lua-include
```
> **Know what you are doing?** Delete this file. Have fun!
## Project Structure
Inside your Fes project, you'll see the following directories and files:
```
.
├── Fes.toml
├── README.md
└── www
└── index.lua
```
Fes looks for `.lua` files in the `www/` directory. Each file is exposed as a route based on its file name.
## Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `fes run .` | Runs the project at `.` |
## What to learn more?
Check out [Fes's docs](https://docs.vxserver.dev/static/fes.html).

View File

@@ -0,0 +1,7 @@
local test = {}
test.render = function(std)
return std.h2("Hello, World!")
end
return test

View File

@@ -0,0 +1,10 @@
local fes = require("fes")
local site = fes.fes()
-- site.copyright = fes.util.copyright("https://example.com", "vx-clutch")
site:h1("Hello, World!")
site:note(fes.app.test.render(fes.std))
return site