Isn´t really a way to open index.html SPA over file:// ? #9661
-
Hey guys. Quasar newbie here. I am evaluating Quasar for a project that I have to access the built index.html over file protocol. But I achieved my objective on a Vue CLI (vue create) project by setting publicPatch property in vue.config.js as follows: Isn't there really any way to achieve this with Quasar? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
So what happens when you do this in quasar( in the quasar.conf.js file)?: See ( use Qv1 with app V2) : btw use router mode hash (not history). |
Beta Was this translation helpful? Give feedback.
@rafael-mq
So what happens when you do this in quasar( in the quasar.conf.js file)?:
publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
See ( use Qv1 with app V2) :
https://quasar.dev/quasar-cli/quasar-conf-js#property-devserver
btw use router mode hash (not history).
vueRouterMode: 'history'