46 lines
1,001 B
Markdown
46 lines
1,001 B
Markdown
![]() |
# MyApp
|
||
|
|
||
|
Démo de design system avec Angular
|
||
|
faisant des composants web.
|
||
|
|
||
|
Storybook.
|
||
|
|
||
|
### Usage
|
||
|
|
||
|
### Build Script Features
|
||
|
|
||
|
To build the application and prepare files for implementation:
|
||
|
|
||
|
```bash
|
||
|
./build.sh
|
||
|
```
|
||
|
|
||
|
- Builds the Angular application
|
||
|
- Checks for Node.js version compatibility (requires v20.19+ or v22.12+)
|
||
|
- Renames the output files to match the expected names in the implementation directory:
|
||
|
- CSS file → `design-system.css`
|
||
|
- JS files → `design-system.js` (combines main and polyfills)
|
||
|
- Copies the renamed files to the `implementation/assets` directory
|
||
|
|
||
|
### Requirements
|
||
|
|
||
|
- Node.js v20.19+ or v22.12+
|
||
|
- npm
|
||
|
|
||
|
## Development
|
||
|
|
||
|
- Angular application with web components
|
||
|
- Storybook for component development and testing
|
||
|
|
||
|
# notes
|
||
|
|
||
|
- génération de web components
|
||
|
- maj des imports scss https://sass-lang.com/documentation/breaking-changes/import/
|
||
|
|
||
|
# implémentation
|
||
|
|
||
|
Pour implémenter les composants de l'application Angular:
|
||
|
|
||
|
- charger le service de chatbot
|
||
|
- mettre un composant
|