This project was generated using Angular CLI version 19.1.4.
To start a local development server, run:
ng serve
To start a local server usable with a smartphone connected to the same network, run :
ip a | grep "inet "
ng serve --host xxx.xxx.xxx.xxx --port 4200
Once the server is running, open your browser and navigate to http://localhost:4200/
. The application will automatically reload whenever you modify any of the source files.
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
ng generate component component-name
For a complete list of available schematics (such as components
, directives
, or pipes
), run:
ng generate --help
To build the project run:
ng build mks-coaching --named-chunks
This will compile your project and store the build artifacts in the dist/
directory. By default, the production build optimizes your application for performance and speed.
To execute unit tests with the Karma test runner, use the following command:
ng test
For end-to-end (e2e) testing, run:
ng e2e
To install Cypress, run this command :
ng add @cypress/schematic
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.
To deploy to github pages from the command line install angular-cli-pages.
ng add angular-cli-ghpages
Then, you can use the next command. It will :
- build the project
- nuke the source file and keep only the output
- create the error 404 page
- create the branch gh-pages, add, commit and push to the repository
ng deploy --base-href=/mks-coaching/
npm install -D tailwindcss postcss autoprefixer
npx tailwind init
npm i -D daisyui@latest
npm install firebase
npm install firebase@11.2.0 --save
Lien vers le dépôt sur Github ; leur page web.
ng add ng-apexcharts
## Techs
- Partial hydration
- Animatations
Static Site Generationil faut un server pour faire ça- Mobile First Design
- TransformStream pour l'inscription ??? J'ai oublié ce que ça veut dire ???
- Me trouver un nouveau shell ? IDE ? éditeur de texte ?
- angular ErrorHandler
- .btn:focus-not-visible et .btn:focs:not(:focus-visible) pour focus avec tab et souris resp.
- utiliser initial-letter pour faire un style magazine
- new viewports units : lvh et svh
- inert
- animation-timeline ?
- dialog html et css ::backdrop
- popover pour faire apparaitre et disparaitre un agenda par exemple ???
- container ???