Change base directory js and css using publicPath



  • Hi,

    I want to ask how to change base directory js and css using mode SSR. I just trying publicPath on quasar.conf

    build: {
          scopeHoisting: true,
          vueRouterMode: 'history',
          showProgress: true,
          publicPath: '/m/',
          appBase: '/m/',
          vueRouterBase: '/m/',
    }
    

    and then build using “quasar build -m ssr”.

    My expected result “domain.com/m/js/…” and “domain.com/m/css/…” on html, but i still get “domain.com/js/…” without “/m/” like below.

    Screen Shot 2020-03-17 at 11.23.03.png

    Please help… what config i miss?

    Thanks


Log in to reply