Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : how to configure less with the stealconfig?

$
0
0
Hi Justin

As you suggested loading less files from the root directory works.

    steal("foo.less!")

But I'd like to load my less files from the ROOT/css directory. Using steal("css/global.less!") doesn't work for me. (error below) I've tried changing the path to other options as well, but the less-1.7.0.js file always tries to load from the root. Do I need to add further configurations?

The file less-1.7.0.js throws a 404 error.

less-1.7.0.js:7672

error
LessError {type: "File", message: "'http://localhost:100/global.less' wasn't found (404)", filename: "input", index: 0, line: 1…}

    callExtract: undefined
    callLine: NaN
    column: 0
    extract: Array[3]
    filename: "input"
    index: 0
    line: 1
    message: "'http://localhost:100/global.less' wasn't found (404)"
    stack: undefined
    type: "File"
    __proto__: Error

undefined

Viewing all articles
Browse latest Browse all 3491

Trending Articles