Vue wrote two projects on mobile and PC, how to jump to different addresses according to different devices by accessing the same address

vue writes about two projects on mobile and PC. How to jump to different addresses according to different devices by visiting the same address
PC access jump to PC project
mobile access jump to mobile
seek advice? how to configure it in the vue project? -sharp-sharp-sharp problem description

the environmental background of the problems and what methods you have tried

if you write a judgment in app.vue or main.js or index.html, every time you refresh the browser, the project will be reloaded. No matter what page the browser refreshes, the browser will return to the default routing page. If you want to refresh the browser, you will still get the current page

.

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Mar.15,2022

if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
    // 
}

has the landlord realized it?


the front-end page can intercept the jump before it is loaded, but for the sake of speed, you can intercept the jump on the nginx

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5af52-455ef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5af52-455ef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?