Skip to content

Commit a2c9aec

Browse files
Merge pull request #51 from pfleigo/patch-1
Add Ionic usage info
2 parents b1edd47 + cfb1c20 commit a2c9aec

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,18 @@ npx angular-cli-ghpages --dir=dist/[PROJECTNAME]
8282
I most cases, the `[PROJECTNAME]` can be found in the `angular.json` file at `defaultProject`.
8383

8484

85+
### Usage with Ionic
86+
87+
You can use the tool with Angular based Ionic projects, too. Instead of the ` dist` folder, the Ionic CLI will create a `www` folder you have to point the tool to. Just use the following commands:
88+
89+
```bash
90+
ionic build --prod -- --base-href=https://USERNAME.github.io/REPOSITORY_NAME/`
91+
```
92+
93+
```bash
94+
npx angular-cli-ghpages --dir=www
95+
```
96+
8597

8698

8799
## Extra

0 commit comments

Comments
 (0)