how to change or config body class from desktop no-touch to mobile touch?
-
how to change or config body class from desktop no-touch to mobile touch?
where can I find document about that ? I can’ find from quasar.conf.js
thanks .
-
-
Although I have no clue about what you are asking, there is the ability to tell what platform the user is on.
https://quasar-framework.org/components/platform-detection.html
Use that to dynamically change, whatever it is you want to change, maybe…
Scott
-
hi ,@s.molinari,
sorry for my question ,what I ask is not how to detect platform, and
what I want to ask is how to suit for mobile view ,instead of on pc ?
follow the docs: quasar init myproject , and quasar dev , default is pc view?
how to change to mobile view ? may be add some parms after quasar dev ?
quasar dev --mobile? quasar dev --pc?
hope you can understand what I ask ,thanks
-
may be have image show what I want is better idea.
-
oh,
initial-scale=1<meta name=“viewport” content=“user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width”>
that’s what I want ,hope can help some one else.
-