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

    Allowing SPA to be portable (publicPath on the fly on client side)

    Help
    1
    1
    244
    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.
    • O
      oger000 last edited by

      Is there a way to inject a funtion into quasar app, that runs as first in the entry-point and sets the value of webpack_public_path as described in docu for webpack 16.4 ?

      I have seen postings in quasar-form that this is dangerous for some build modes and there are good reasons to force everything to the root “/”. But I think it should at least work for (ctx.prod && ctx.modeName === ‘spa’). Otherwise one had to rebuild whenever the server layout changes, or when running on different server-urls.
      I dont use vueRouterMode: ‘history’

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