Last active
February 20, 2018 14:18
-
-
Save santhosh17s/5b2d8d586543631d7814350aee34534d to your computer and use it in GitHub Desktop.
Angular 4 - CLI - Build and Deploy URL options
This file contains hidden or 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
//Angular CLI - Build with base-href and deploy-url options | |
> ng build --prod --base-href /projectName --deploy-url /publicFolderName | |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Single Page Application</title> | |
<base href="/projectName"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="icon" type="image/x-icon" href="favicon.ico"> | |
<link href="/publicFolderName/styles.xxxx.bundle.css" rel="stylesheet"/></head> | |
<body> | |
<app-root>Loading...</app-root> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment