Skip to content
Commit 79e049b3 authored by JunHyung An's avatar JunHyung An
Browse files

VUE_APP_BASE_URL to CI_PAGES_URL

parent cc90c68e
Loading
Loading
Loading
Loading
Loading
  • Author Contributor

    References

    origianl vue.config.js

    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,
      publicPath: publicPath(),
      outputDir: 'public'
    })
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment