Loading .gitlab-ci.yml +1 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ pages: # override inherited cache settings since node_modules is not needed script: - npm run build - cp -a dist/. public/ artifacts: paths: - public Loading vue.config.js +11 −1 Original line number Diff line number Diff line const { defineConfig } = require('@vue/cli-service') function publicPath () { if (process.env.CI_PAGES_URL) { return new URL(process.env.CI_PAGES_URL).pathname } else { return '/' } } module.exports = defineConfig({ transpileDependencies: true transpileDependencies: true, publicPath: publicPath() }) Loading
.gitlab-ci.yml +1 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ pages: # override inherited cache settings since node_modules is not needed script: - npm run build - cp -a dist/. public/ artifacts: paths: - public Loading
vue.config.js +11 −1 Original line number Diff line number Diff line const { defineConfig } = require('@vue/cli-service') function publicPath () { if (process.env.CI_PAGES_URL) { return new URL(process.env.CI_PAGES_URL).pathname } else { return '/' } } module.exports = defineConfig({ transpileDependencies: true transpileDependencies: true, publicPath: publicPath() })