[Vuejs]-@if SASS condition if background color using match –variable

0👍

Your question has an answer: you need to have == inside if statement, not :.

If you want to check if a certain variable use a variable-exists() function, see: Checking if a variable is defined in SASS

Leave a comment