This project was generated with Angular CLI version 17.0.0-rc.4 by running:
ng new wmt --prefix mt --create-application --routing --standalone --ssr --style css
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.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Or better yet, use WebStorm's New → Angular Schematic… context menu in the target directory.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.
- Routes are defined in
src/app/app.routes.ts. - Add new pages under
src/app/pages. The naming convention is:
name/name-page.componentfor the page component.
The default components config is:
--display-block --inline-template --skip-testsRun ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
The project is configured to deploy to Firebase using Firebase Hosting and Firebase CLI.
There's an unreleased fix in PR #6480 for firebase-tool which might fix the ssr with the new Angular 17 application builder.
Until then, ssr is disabled by replacing in firebase.json:
# "source": ".",
"public": "dist/wmt/browser",
To deploy your changes to masivo.tech run:
ng deploy