move working code to exemple/navigation/
sources/, config.yml and build.sh relocated under exemple/navigation/. Root now only contains template/ and exemple/. README updated to reflect the new structure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
f49eae6c31
commit
6185d8ea48
18 changed files with 18 additions and 10 deletions
26
README.md
26
README.md
|
|
@ -3,6 +3,23 @@
|
|||
Framework web minimaliste basé sur JavaScript vanilla et les Web Components.
|
||||
Routage hash-based, composants déclarés dans `config.yml`, build via `build.sh`.
|
||||
|
||||
## Contenu du repo
|
||||
|
||||
```
|
||||
├── template/ # Point de départ pour un nouveau projet
|
||||
└── exemple/
|
||||
└── navigation/ # Exemple complet avec side-nav et page dashboard
|
||||
```
|
||||
|
||||
## Démarrer un projet
|
||||
|
||||
```bash
|
||||
cp -r template/ mon-projet/
|
||||
cd mon-projet/
|
||||
./build.sh
|
||||
python3 -m http.server 8000 --directory sources/
|
||||
```
|
||||
|
||||
## Structure d'un projet
|
||||
|
||||
```
|
||||
|
|
@ -19,15 +36,6 @@ Routage hash-based, composants déclarés dans `config.yml`, build via `build.sh
|
|||
└── build.sh # Télécharge les remotes + génère les JSON
|
||||
```
|
||||
|
||||
## Démarrer un projet
|
||||
|
||||
```bash
|
||||
cp -r template/ mon-projet/
|
||||
cd mon-projet/
|
||||
./build.sh
|
||||
python3 -m http.server 8000 --directory sources/
|
||||
```
|
||||
|
||||
## Ajouter une page
|
||||
|
||||
1. Créer `sources/pages/<nom>/` avec :
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 996 B After Width: | Height: | Size: 996 B |
Loading…
Add table
Add a link
Reference in a new issue