import default variables into app.styl

  • 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

  • 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’

Log in to reply