/blade-style-sass

A sass compiler engine for x-style Blade components using scssphp.

Primary LanguagePHPMIT LicenseMIT

Blade Style Sass

A sass compiler engine for x-style Blade components using scssphp.

<button class="btn">My Button</button>

<x-style lang="scss">
    $color: purple;

    .btn{
        background: $color;
    }
</x-style>

The packet can be easily installed via composer.

composer require cbl/blade-style-sass

And that's it! The compiler engine is automatically registered and you are good to go.