How to develop front-end web end and mobile end in parallel

such as title:
requirement is: adapt to desktop phone tablet
question: develop three sets of code or adapt? If you want to adapt, do you want to set a meta tag on the phone or something that contradicts the desktop and tablet?

Dec.04,2021

not all designs are responsive.
if some designs are not done according to the grid module, the mobile end may need to be designed separately, and eventually it may be divided into multiple pages, and the server will spit out the corresponding pages according to the request ua.
Grid design is simple, and there are a lot of ready-made things available (such as bootstrap), small screen pc/ tablet, which comes out when the mobile end is slightly adjusted.
of course, it would be better to write by component, it's all ready-made.
personally, the most troublesome thing for pc is the high split screen, and the most troublesome for mobile is different aspect ratio.


vuejs is fine. It can automatically adapt


is responsive, right?
Media query or rem . It is recommended that Media query


if you can adapt to the three ends, many UI frameworks can do it, such as Bootstrap.

.

if there is no shortage of time, it is recommended to do it separately. Because of various special-shaped screens, the adaptation of mobile devices will be more troublesome.

the adaptation of PC is relatively simple, and the mainstream solution of mobile should be vw+rem. If you just use the media query for adaptation, I guess it will make you
want to jump off a building

.

vuejs is fine, and the template can be adapted. If the project is relatively large, the foreground should be written separately, and the data should be unified in the form of interface

.
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-1b3327c-2be7a.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-1b3327c-2be7a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?