This commit is contained in:
Sam
2026-06-10 11:51:56 -05:00
commit 66ba338b81
57 changed files with 5509 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# Pug Features Demo
This folder is a small Pug demo showing:
- interpolation with `#{name}`
- conditionals with `if` and `case`
- loops with `each`
- includes with `_summary.pug` and `_mixins.pug`
- layout inheritance with `extends ./layout.pug`
- reusable mixins with `+featureCard(feature)` and `+badge(...)`
Compile it with:
```bash
npx pug-cli priv/ui/pug-demo/index.pug --pretty --out priv/ui/pug-demo
```
That writes `priv/ui/pug-demo/index.html`.