Skip to content

Commit

Permalink
draw extra attention to ng deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
hattyhattington17 committed Jan 22, 2025
1 parent c6939a3 commit b62a58a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/zkapps/front-end-integration-guides/angular.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,11 @@ declare var o1js: typeof o1jsTypes;
- Now we'll set the app up for deployment to GitHub pages.
- Publish your project to a GitHub repository with the same name.
- Run `ng deploy` and select GitHub Pages.

```bash
ng deploy
```

- Add `baseHref` to `options` under `build` in angular.json with the name of your GitHub repository.
- **Do not remove the slashes!**

Expand Down Expand Up @@ -391,7 +396,7 @@ npm install coi-serviceworker@^0.1.7
"copy-libs": "mkdir -p public/lib/o1js && cp node_modules/o1js/dist/web/index.js public/lib/o1js/index.js && cp node_modules/coi-serviceworker/coi-serviceworker.min.js public/coi-serviceworker.min.js"
```

- Import it in your index.html file right above the o1js importmap script
- Import it in your `index.html` file right above the o1js importmap script.
```html
<script src="coi-serviceworker.min.js"></script>
```
Expand Down

0 comments on commit b62a58a

Please sign in to comment.