An introductory project for trying out angular by creating a simple to-do list application.
💛 Hosted on Github Pages: https://yuelchen.github.io/angular-todo-list/
npm install -g @angular/cli
ng new angular-todo-list
cd angular-todo-list/
Option -o, --open will automatically open browser page for localhost:4200.
ng serve --open
ng build --prod
See angular-cli-ghpages standalone README for more in-depth information.
- Under the project directory, install angular-cli-gh-pages module (first-time-only).
npm i angular-cli-ghpages --save-dev
- Build the application for GitHub pages.
ng build --prod --base-href "https://username.github.io/repository-name/"
- Deploy the application (Angular 6+).
The project-name can be found under angular.json; see defaultProject key-value.
npx angular-cli-ghpages --dir=dist/project-name
🚩 Disclaimer:
This project was generated with Angular CLI.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.