Reputation: 22357
When I use:
<style rel="stylesheet/less" type="text/css"> ... </style>
in intellij, I am getting lots of errors. It seems as if it is not recognizing this syntax. I am using a html file for this tag.
Upvotes: 2
Views: 454
Reputation: 124
the following code worked for me
<style type="text/less">
</style>
However, the attached less file does not see the variable
<link rel="stylesheet/less" type="text/less" href="index.less" />
<script>
less={globalVars: {'color_root': '#fff'}
};
</script>
<script src="less.js" type="text/javascript"></script>
Upvotes: 2