Skip to content

Commit 85e2c2e

Browse files
Update README.md
1 parent 6ad6213 commit 85e2c2e

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,21 @@ __Note: you have to create the `dist` folder in before (e.g. `ng build --prod`)
4141
Usage:
4242

4343
```bash
44-
ng build --prod --base-href "https://USERNAME.github.io/REPOSITORY/"
44+
ng build --prod --base-href "https://USERNAME.github.io/REPOSITORY_NAME/"
45+
angular-cli-ghpages [OPTIONS]
46+
```
47+
48+
or
49+
50+
```bash
51+
ng build --prod --base-href "/REPOSITORY_NAME/"
52+
angular-cli-ghpages [OPTIONS]
53+
```
54+
55+
or (`<base href="">` stays untouched)
56+
57+
```bash
58+
ng build --prod
4559
angular-cli-ghpages [OPTIONS]
4660
```
4761

0 commit comments

Comments
 (0)