Loading .gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,8 @@ pages: script: - yarn install --frozen-lockfile --check-files --non-interactive - yarn build - mv public public-vue # GitLab Pages hooks on the public folder - mv dist public # rename the dist folder (result of npm run build) - echo 'Pages deployment job' artifacts: paths: Loading vue.config.js +1 −2 Original line number Diff line number Diff line Loading @@ -3,6 +3,5 @@ module.exports = defineConfig({ transpileDependencies: true, publicPath: process.env.NODE_ENV === 'production' ? '/vuejs-gitlab-pages/' : '/', outputDir: '/public/' : '/' }) Loading
.gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,8 @@ pages: script: - yarn install --frozen-lockfile --check-files --non-interactive - yarn build - mv public public-vue # GitLab Pages hooks on the public folder - mv dist public # rename the dist folder (result of npm run build) - echo 'Pages deployment job' artifacts: paths: Loading
vue.config.js +1 −2 Original line number Diff line number Diff line Loading @@ -3,6 +3,5 @@ module.exports = defineConfig({ transpileDependencies: true, publicPath: process.env.NODE_ENV === 'production' ? '/vuejs-gitlab-pages/' : '/', outputDir: '/public/' : '/' })