add template + document framework in root README
template/README.md: stripped to a one-liner bootstrap command. README.md: full project docs (structure, add page, add component, build.sh). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
0d5c2fbd35
commit
6796e102e0
16 changed files with 663 additions and 1 deletions
8
template/sources/core/registry.js
Normal file
8
template/sources/core/registry.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
const response = await fetch('./components.json')
|
||||
if (!response.ok) throw new Error('Failed to load components.json')
|
||||
|
||||
const components = await response.json()
|
||||
|
||||
for (const path of components) {
|
||||
await import(`../${path}`)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue