There is an application for quasar. I’m building an app for android.
The backend on the laravel. I indicate in the quasar settings
devServer: {
open: true, // opens browser window automatically
proxy: {
‘/ api’: {
target: ‘http: // domain_name’,
changeOrigin: true
// pathRewrite: {
// ‘^ / api’: ‘’
//}
}
}
}
I copy the resulting application to a smartphone, the login and password input window is displayed, but the router does not work, more precisely, I assume that the action in vuex does not work:
axios.post (’/ api / auth / login’, {
login: login,
clientID: clientID + ‘’,
key: key + ‘’
})
I have an assumption that the links to api must be indicated somehow differently so that they work in a mobile application.
Help me figure out how to make applications that have a frontend on a quasar and a backend on laravel.