No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Change base directory js and css using publicPath

    Framework
    1
    1
    262
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Raymond last edited by

      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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post