elabdesunil / angular-todo-and-routing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular Todo App with Routing Feature

Successfully created my first Angular JS app

Features:

How to deploy angualar Application to github:

  • Step 1: ng build --prod --output-path docs --base-href /<project_name>/
  • Step 2: make a copy of docs/index.html and name it 404.html. save it in the same folder docs/ so it has both files index.html and 404.html

Here is the link to the guide: https://angular.io/guide/deployment#deploy-to-github-pages

There is Angular-cli-ghpages that can automatically do all of these for you. It creates another branch called gh-pages like by react-gh-pages. Set gh-pages as the source folder to deploy. here is the link: https://github.com/angular-schule/angular-cli-ghpages

About


Languages

Language:TypeScript 79.3%Language:JavaScript 9.3%Language:HTML 6.4%Language:CSS 5.1%