Vote count:
0
I'm trying to use LESS to compile my webpage styles. I've included the styles and scripts as below:
<link rel="stylesheet/less" type="text/css" href="less/styles.less" />
Scripts
<script type="text/javascript">
less = {
env: "development",
async: false,
fileAsync: false,
poll: 1000,
functions: {},
dumpLineNumbers: "comments",
relativeUrls: false,
rootpath: ":/localhost/formadominio/"
};
</script>
<script type="text/javascript" src="js/libs/less.min.js"></script>
In my styles.less file I do this:
@import 'variables.less';
@import 'mixins.less';
@import 'iconos.less';
@import 'base.less';
@import 'home.less';
But Chrome throws me the following error: SyntaxError: Cannot read property 'importMultiple' of undefined
In firefox: SyntaxError: b is undefined
What am I doing wrong? any help?
asked 27 secs ago
why do I get this error on @import declaration?
Aucun commentaire:
Enregistrer un commentaire