Manual import example

Compile @importlollipop yourself.

Loading style.lcss, var.lcss, and basic.lcss...

This page does not use rel="lollipop-stylesheet". JavaScript fetches the LCSS source, resolves imports with compileAsync(), then injects the compiled CSS.

Manual loading code index_import.html
const response = await fetch("./style.lcss");
const source = await response.text();

const css = await new LollipopCSS().compileAsync(source, {
    baseUrl: response.url
});

LollipopCSS.apply(css);