Currently, I am struggling with a problem trying to import my scss variables. There appears to be a limit to how far up you can go on the file tree when using the @import
statement.
This works in another file just above:
@import '../../../styles/data/variables.scss';
However this does not work in a file just below the above:
@import '../../../../styles/data/variables.scss';
It says in the console that the File to import is not found for unreadable
. It would be nice if I could keep the variables file in the same place. Does anyone have any suggestions? I know it's probably a simple fix.