rename components.yml → config.yml

The manifest covers components, pages, vendors and menu — config.yml
is a more accurate name. Updated build.sh (both project and template),
router.js comment, and README.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-06-07 13:08:50 +02:00
commit f49eae6c31
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
6 changed files with 11 additions and 11 deletions

View file

@ -1,39 +0,0 @@
# Component manifest — source of truth for the web UI.
#
# Edit this file, then run ./build.sh to:
# - download every remote component into sources/components/<name>/
# - generate sources/components.json (the runtime load list) in declared order
#
# Load order matters: service components (login-gate, api-client) must come
# before the components that consume them.
# Local components shipped inside this repo. Not downloaded — listed here only
# so build.sh can place them in the generated load order.
local_components: []
# Remote components fetched from git at build time.
# Each is its own repo; its root must contain <name>.js and manifest.json.
#
# - name: side-nav
# repo: https://git.g3e.fr/syonad/syn-side-nav
# ref: main
components: []
# Vendor libraries — downloaded into sources/vendor/ at build time (gitignored).
# Components import them via relative paths, never via components.json.
vendors: []
# Pages — each page is a self-contained directory (JS + CSS + index.html + manifest.json).
# Page manifest.json must contain: route, label, icon.
# Page JS must export an optional init(main) function.
local_pages:
- home
remote_pages: []
# Menu — order and visibility in the navigation.
# List routes in desired display order.
# A page not listed here is accessible via /#/route but hidden from the nav.
menu:
- home