From ef8d6ee051de3587226d150635b10cb5111e4845 Mon Sep 17 00:00:00 2001 From: Luis Marroquin Date: Sat, 22 Aug 2020 16:53:11 -0500 Subject: [PATCH] Update deployment.md Comment: // vue.config.js file to be place in the root of your repository Should be also on `GitHub Pages` guide, not only `GitLab Pages` --- docs/guide/deployment.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guide/deployment.md b/docs/guide/deployment.md index a8199cb9a2..95dbd3aa57 100644 --- a/docs/guide/deployment.md +++ b/docs/guide/deployment.md @@ -44,6 +44,8 @@ If you are using the PWA plugin, your app must be served over HTTPS so that [Ser 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: ``` js + // vue.config.js file to be place in the root of your repository + module.exports = { publicPath: process.env.NODE_ENV === 'production' ? '/my-project/'