I'm just start using Less. I'd like to compile all of the less files to a css file. So I created a less file with that content:
@startup-basePath: '../../ressources/StartupFramework/Developer';
@import '@{startup-basePath}/flat-ui/less/flat-ui.less';
But I get an Error.
FileError: '@{startup-basePath}/flat-ui/less/flat-ui.less' wasn't found...
Well, the path is right. So I tried a different version. I just added the content of the variable to the file.
@startup-basePath: "../../ressources/StartupFramework/Developer";
@import "../../ressources/StartupFramework/Developer/flat-ui/less/flat-ui.less";
And it solved the issue. I successfully compiled the less file. But I need to include lots of less files, so I'd like to use variables for the path.
So can some one help me with this issue? Why do I get the File not Fond error, when I use variables?