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 Path dist folder for SPA & PWA

    Help
    3
    5
    2433
    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.
    • GLinBoy
      GLinBoy last edited by

      Hi
      I need change dist folder for PWA & SPA of application;
      defualt path is:
      ./dist/spa-mat/index.html
      under current project path, but I need it be like:
      …/frontend/index.html

      1 Reply Last reply Reply Quote 0
      • a47ae
        a47ae last edited by

        This seems more like an issue with your deployment.
        You can just move the folder elsewhere.

        Or are you talking about the public_path config?

        1 Reply Last reply Reply Quote 1
        • rstoenescu
          rstoenescu Admin last edited by

          Use quasar.conf.js > build > distDir
          But make sure you want distDir and not publicPath

          1 Reply Last reply Reply Quote 2
          • GLinBoy
            GLinBoy last edited by

            Thank you guys
            That was what I wanted;
            Is that possible to define septate distDir for each platform(PWA, Electron and mobile)?

            1 Reply Last reply Reply Quote 0
            • rstoenescu
              rstoenescu Admin last edited by

              Of course. Notice module.exports = function (ctx) { … }
              http://quasar-framework.org/guide/app-quasar.conf.js.html#Structure

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