Commit 5b028373 authored by Sophia Manicor's avatar Sophia Manicor
Browse files

Routing through public

parent f73712f7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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:
+1 −2
Original line number Diff line number Diff line
@@ -3,6 +3,5 @@ module.exports = defineConfig({
  transpileDependencies: true,
  publicPath: process.env.NODE_ENV === 'production'
    ? '/vuejs-gitlab-pages/'
    : '/',
    outputDir: '/public/'
    : '/'
})