No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Different UI for different platform (Android/Iphone) using same code

    Help
    3
    3
    1050
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      js.run last edited by

      I am starting to learn vuejs with Quasar.

      i have query suppose we made a basic app. So in development mode i am using mat theme. So i deployed the project but when see in android device and Iphone device UI was same.

      What i was thinking it will automatically render in different platform automatically using the same code. or am i missing anything if not then how can i achieve this.

      Many thanks

      1 Reply Last reply Reply Quote 0
      • a47ae
        a47ae last edited by

        The Quasar theme and the device detection are two different things. If you want to use the iOS theme you have to change the build variable and rebuild your app, currently there is no other way to change the theme.
        Have a look here: http://beta.quasar-framework.org/guide/quasar-theming.html

        1 Reply Last reply Reply Quote 1
        • rstoenescu
          rstoenescu Admin last edited by

          Build with “mat” theme when you deploy to Android and with “ios” when you deploy to iOS. Current webpack architecture does not let us dynamically load the proper theme based on the platform the app is running under.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post