You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how to set the root value for a web project that has both mobile and PC designs? The mobile design has a size of 375px and the PC design has a size of 1920px. I would greatly appreciate any guidance on how to approach this, or if there is a function that can help with this issue. Thank you very much.
The text was updated successfully, but these errors were encountered:
I think in this situation, you can store your PC and mobile files in separate directories, and then perform the necessary checks in the rootValue function to return the corresponding values. The rootValue can be a function that takes parameters for performing the required checks.
Of course, you are not obligated to follow my suggestion exactly. As long as you can come up with conditions that satisfy the differentiation within the function, it should work. I hope this helps you.
how to set the root value for a web project that has both mobile and PC designs? The mobile design has a size of 375px and the PC design has a size of 1920px. I would greatly appreciate any guidance on how to approach this, or if there is a function that can help with this issue. Thank you very much.
The text was updated successfully, but these errors were encountered: