Переглянути джерело

Merge pull request #343 from TimboTambo/getting-started-asset-prefix

Include optional public-url flag in build instruction within getting …
Jon Kelley 3 роки тому
батько
коміт
ab4f75e4ea
1 змінених файлів з 1 додано та 1 видалено
  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