Skip to content

Commit

Permalink
Merge pull request #343 from TimboTambo/getting-started-asset-prefix
Browse files Browse the repository at this point in the history
Include optional public-url flag in build instruction within getting …
  • Loading branch information
jkelleyrtp committed Apr 9, 2022
2 parents 56ea9e4 + a5a5821 commit ab4f75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/src/platforms/web.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ trunk serve
To build our app and publish it to Github:

- Make sure Github Pages is set up for your repo
- Build your app with `trunk build --release`
- Build your app with `trunk build --release` (include `--public-url <repo-name>` to update asset prefixes if using a project site)
- Move your generated HTML/CSS/JS/Wasm from `dist` into the folder configured for Github Pages
- Add and commit with git
- Push to Github
Expand Down

0 comments on commit ab4f75e

Please sign in to comment.