jfspps / howtos_angular

GitHub Pages HowTos host

Repository from Github https://github.comjfspps/howtos_angularRepository from Github https://github.comjfspps/howtos_angular

Howtos

This project hosts a series of HowTos (cookbook) style GitHub repos, where each commit represents each step required to implement the core functionality. These repos can be used as starting points for new projects. Also included are my notes from various online courses.

Instructions about how to host Angular apps to GitHub Pages were taken from Bits and Pieces.

Add "baseHref": "/howtos/" to angular.json and then (after pushing commits to the main branch) use ng deploy to deploy to GitHub Pages. Access the landing page here.

Angular generated

This project was generated with Angular CLI version 11.2.0.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app 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.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

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

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

GitHub Pages HowTos host


Languages

Language:TypeScript 53.5%Language:HTML 45.6%Language:CSS 0.5%Language:JavaScript 0.4%