diff --git a/docs/guide/deployment.md b/docs/guide/deployment.md index 13f2d63c9b..8caafc17bf 100644 --- a/docs/guide/deployment.md +++ b/docs/guide/deployment.md @@ -39,7 +39,7 @@ If you are using the PWA plugin, your app must be served over HTTPS so that [Ser 1. Set correct `publicPath` in `vue.config.js`. - If you are deploying to `https://.github.io/`, you can omit `publicPath` as it defaults to `"/"`. + If you are deploying to `https://.github.io/` or to a custom domain, you can omit `publicPath` as it defaults to `"/"`. If you are deploying to `https://.github.io//`, (i.e. your repository is at `https://github.com//`), set `publicPath` to `"//"`. For example, if your repo name is "my-project", your `vue.config.js` should look like this: