Skip to content

masivotech/website-angular

Repository files navigation

WMT · Website Masivotech

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

Development server

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.

Code scaffolding

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 NewAngular 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.

Pages

  • Routes are defined in src/app/app.routes.ts.
  • Add new pages under src/app/pages. The naming convention is:
    name/name-page.component for the page component.

Components

The default components config is:

--display-block --inline-template --skip-tests

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Tests

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

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.

Deploy

The project is configured to deploy to Firebase using Firebase Hosting and Firebase CLI.

Disabled SSR for now

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

About

Website masivo.tech

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors