Created
November 25, 2019 16:35
-
-
Save vijaydeepak-tt/ed9233bd441e7cc37b2e262e74d23fd0 to your computer and use it in GitHub Desktop.
Angular github publish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Publishing Procedure: | |
Step1: Run "npm build --prod". | |
Step2: install ghpage for angular cli by running "npm i -g angular-cli-ghpages" in cmd. | |
Step3: push the complete code to the github repository. | |
Step4: run ng build --prod --base-href "https://USERNAME.github.io/REPOSITORY/" command. | |
Ex: ng build --prod --base-href https://Prince7195.github.io/angular-chatbot | |
Step5: run ngh cmd. | |
Step6: Check the url you mentioned. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment