Help to build a project with correct routes
Iam trying to configure a quasar project distribution routes, in my quasar.conf.js i have set in build object this publicPath:
my main project folder is pmt which is in htdocs of an apache server, inside this i have codeigniter’s folders and in the same level i have put a folder with name ‘client’ in which i have quasar project…
when i work with devserver i have no problem, when i build it under client/dist/spa-mat/ the index.php generated takes the publicPath and prepend it to the resources which is ok… but then when i request an axios service using just apache server and not devServer with the build generated (in login for example) it takes the base tag too (or publicPath) and prepended to my services calls which get malformed because it must have the next shape:
so i changed base tag (of the index.php generated) to http://localhost/pmt/ and copy the dist files to pmt/ (to find the resources) and it seems to work, but i don’t know if is it correct, because urls are strange after the user is loged in:
and should be like this:
How should i configure the building routes? what am i doing wrong? how do i fix uris?
thanks in advance