I am starting to use the LESS CSS stylesheet language to write my CSS.
This is what I have in the HTML file
<link rel="stylesheet/less" type="text/css" href="style.less" />
<script src="http://lesscss.googlecode.com/files/less-1.0.18.min.js"> </script>
The problem that I am facing is that every time I am previewing my website in Chrome, I receive this error:
Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101
Is there something I am doing wrong? I understand that I will need to compile my .less file into a .css file for browsers to read, but I should be able to at least preview my website, right?
Thanks so much for your help!
Presumably you are reading your HTML document directly from your local file system. Don’t. Install a web server locally and use that for testing. It will more accurately reflect the final live environment (where URIs beginning with
/and lots of security features work differently).