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>
8 lines
225 B
JavaScript
8 lines
225 B
JavaScript
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}`)
|
|
}
|