From a5a5821aa56863b52156f9534478b34f3bbfba3d Mon Sep 17 00:00:00 2001 From: Tim Lee Date: Fri, 8 Apr 2022 15:32:07 +0100 Subject: [PATCH] Include optional public-url flag in build instruction within getting started docs --- docs/reference/src/platforms/web.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/src/platforms/web.md b/docs/reference/src/platforms/web.md index 2ff5f621e..ab5d6505b 100644 --- a/docs/reference/src/platforms/web.md +++ b/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 ` 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