This project was generated with Angular CLI version 19.1.6.
Para comenzar el curso, utiliza la rama initial
que contiene el punto de partida inicial:
git checkout initial
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
To build the project run:
ng build
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 test the Progressive Web App (PWA) functionality locally:
- First build the project for production:
ng build
- Install http-server globally (if you don't have it):
npm install -g http-server
- Serve the built files from the dist directory:
http-server -p 8080 -c-1 dist/midudev-pwa/browser
Access your PWA at http://localhost:8080
. The service worker will only work in production mode and over HTTPS or localhost.
- Si deseas más recursos sobre Angular, visita mi canal de YouTube dominicode
- Para más información sobre Angular CLI, consulta la documentación oficial