Less.js: Compiling less to css in browser

Created on 30 Aug 2016  路  2Comments  路  Source: less/less.js

Hi Guys,

My apologies if this is the wrong thread to start with.
I'm currently trying to parse a simple string containing less to css and less.js(version 2.7.1) kept on returning error: cannot read property 'pluginManager' of undefined.

image

sample code here:
http://jsfiddle.net/3AHTW/6/

Many thanks

Jonathan

Most helpful comment

Got it.. less.render is the solution!

Cheers

All 2 comments

Plz read the docs. The way you are using to compile Less code was deprecated.

Got it.. less.render is the solution!

Cheers

Was this page helpful?
0 / 5 - 0 ratings