Quasar frontend in dev mode not displaying content from the backend
enter image description hereenter image description here
when run quasar dev , show localhost:8080
but not display content from database back end
and my front end port 8080
back end port 8000
I have to try change my quasarconfigjs likely on mode ai google searching but still not working
devServer: {
open: true, // opens browser window automatically
port: 8080,
proxy: {
// Proxy all requests starting with /api to your backend server
'/api': {
target: 'http://localhost:8000', // Replace with your backend URL/port
changeOrigin: true, // needed for virtual hosted sites
pathRewrite: {
'^/api': '' // remove the /api prefix when forwarding the request
}
}
}