This project was generated using Angular CLI version 19.1.4.
To start a local development server, run ng serve or npm run start:
ng serveOnce 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.
Always test prerendering after finishing your code changes. To test a prerendering build, run npm run prerender:test:
npm run prerender:test
...
Prerendered X static routes.
Application bundle generation complete. [XXX seconds]
Output location: ...\dist\mobila-feThis will start a local server at http://localhost:4200 which will serve the prerendered HTML files from dist/mobila-fe/browser/*. Hot reloading for prerendering is not possible.
Because Netlify could not compile src/server.ts and then the build crashed everytime, we deleted src/server.ts. This effectively means SSR is disabled.
We want to enable SSR again when we move from Netlify hosting to a VPS hosting.
See official documentation about SSR here.
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
ng generate component component-nameFor a complete list of available schematics (such as components, directives, or pipes), run:
ng generate --helpTo execute unit tests with the Karma test runner, use the following command:
ng testFor end-to-end (e2e) testing, run:
ng e2eAngular 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.