Vue wrote a mobile terminal and the PC two events, and how to access the same address according to the different equipment to jump to different address
PC access to jump to PC program
Mobile terminal access to jump to move
Consult a great god, and how to configure in vue project? # # # problem description
Problems of environmental background and own tried method
In app. Vue or main. Js or index. The written judgment in the HTML will refresh the browser to reload project at a time, no matter in what page refresh the browser page will be returned to the default route, want to refresh your browser to get still is the current page
CodePudding user response:
It is to write a page to load, don't need anything, just judge equipment then jump corresponding PC or mobile page, and this can tryCodePudding user response:
The building Lord how to solve the problem, can put the relevant code to share