Explorar o código

Include optional public-url flag in build instruction within getting started docs

Tim Lee %!s(int64=3) %!d(string=hai) anos
pai
achega
a5a5821aa5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/reference/src/platforms/web.md

+ 1 - 1
docs/reference/src/platforms/web.md

@@ -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