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

    import default variables into app.styl

    Help
    2
    2
    381
    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.
    • Z
      Zeitvertreib last edited by Zeitvertreib

      I want to use $grey-1 in my app.styl file. (and all the other variables)
      How can I import those? (documentation says only how to uses them in *.vue files)

      thanks 🙂

      edit:: especially I want to apply helper classes like q-mx-sm

      1 Reply Last reply Reply Quote 0
      • R
        rconstantine last edited by

        I only know how to import them in the style section of vue files after setting the lang=“stylus”, thus:

        // “variables” is a Webpack alias injected by Quasar CLI
        @import ‘~variables’

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