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

    quasar app theming

    Help
    3
    3
    349
    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.
    • D
      devRoshan last edited by

      I want to load different stylus file based on a condition in quasar.conf.js. How can i do this ?

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        Hi,

        Did you see this?

        https://quasar-framework.org/guide/app-quasar.conf.js.html#css-Property

        Scott

        1 Reply Last reply Reply Quote 0
        • G
          genyded last edited by

          quasar.conf.js is just a standard JavaScript export of an object. So what you are asking in JS 101 stuff and not specific to Quasar at all. Use a ternary, ‘if’ variables out side the return, and then reference them inside it, or any other way you would do something like this for anything is JavaScript.

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