This commit is contained in:
2026-08-04 17:57:01 +08:00
parent 768fd4a3a9
commit f77034edd7
641 changed files with 26137 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# Component source layout
Each component folder contains:
- `index.html`: one or more named HTML templates. Root pages load them with `index.html#fragment`.
- `style/index.css`: the component styles.
- `component.js`: the local-file compatible registry generated from `index.html`.
- `img/`: only the image assets referenced by that component.
`shared/` contains global tokens, base styles, the component loader, and shared glyph samples.
The complete pre-organization snapshot is stored under `../old/`.
After editing a component `index.html`, run `python src-web/sync-components.py` from the project root.