This page is a simple demo to show how to compile SCSS code in the browser.
In detail, upon loading, it compiles the full Bootstrap 5.3.1 CSS library, reading SCSS files hosted on CDN.
Of course, this is not for production use. You should always "staticize" your CSS bundle before serving it to visitors.
We originally built this module for Picostrap, a WordPress starter theme implementing SASS and Bootstrap.
View the source code of this demo page. It's really easy! Just one SCRIPT tag to add.
Picosass does use the DART SASS compiler (the reference implementation of Sass), loading it via JSPM.
Picosass is MIT licensed, but we'd love you to credit our work if possible.