How to Deploy the app under sub-directory in IIS?

  • Hi Experts,
    I am trying to deploy the quasar app under sub-directory (or new application) in IIS. But it is not working as expected. I found some references in the sites to set the base directory name in the quasar.conf.js file like “VUE_ROUTER_BASE: MySubDir”. But it is not working as expected. So I am changing the base section in the Index.js file directly like "base: ‘/mySubDir/’. Additionally, I am doing the change in Index.html and app_*.css file to make it work.
    Is there any recommended way to deploy the application under virtual directory in IIS? or why setting the value in quasar.conf.js is not working? Am I missing anything? Please let me know.

    Palani. S

  • What is happening and the path is not adding the path in the call. I no longer know what kind of conclusion to make

  • Generally Quasar apps in SPA mode are designed to work as virtual hosts but if you put them behind reverse proxy then you can do what you want. In IIS it is called Application Request Routing (ARR) and it allows you to not only proxy requests but also rewrite anything to anything.

Log in to reply