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

    0.15.4 build how to specify app directory

    CLI
    1
    2
    2748
    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.
    • A
      Alinex last edited by

      After I build my nearly unchanged starter kit I find the files under dist/spa-mat. But if I add them to my server in a subdirectory I get some 404 errors caused by the setting <base href=/ > within the index.html which makes all links absolute. How to prevent this or where to set the application root correctly?

      Looks like this comes from <base href="<%= htmlWebpackPlugin.options.appBase %>"> within the index.template.html file. But where to set this appBase?

      1 Reply Last reply Reply Quote 1
      • A
        Alinex last edited by

        Found it at http://quasar-framework.org/guide/app-quasar.conf.js.html#Build-Property

        I have to use publicPath.

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