in order to avoid ugly URL, using history mode when using vue-router, the express, used at the back end is then configured with the following
const history = require ("connect-history-api-fallback");
app.use (history ());
app.use (express.static (path.join (_ _ dirname,". / client/dist");
but for the get request issued by the current end, when the address bar becomes http://localhost:3000/?tab=technology
, the request is not sent, and the index.html file is returned. How can the request be sent correctly? after reading the official documents of connect-history-api-fallback, I still don"t understand it very well. Do you have any advice from the bosses? Or it would be nice to have a Git project to learn. I really don"t know what to do. It"s all right after being configured according to the NGINX on the official website. What on earth is express going to do