| Package Data | |
|---|---|
| Maintainer Username: | pawlox |
| Maintainer Contact: | pawmarci@gmail.com (Paweł Marciniak) |
| Package Create Date: | 2017-08-10 |
| Package Last Update: | 2017-08-10 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-03 15:02:20 |
| Package Statistics | |
|---|---|
| Total Downloads: | 1,078 |
| Monthly Downloads: | 108 |
| Daily Downloads: | 4 |
| Total Stars: | 4 |
| Total Watchers: | 3 |
| Total Forks: | 4 |
| Total Open Issues: | 0 |
Adds a @scss tag to Laravel's Blade templating engine.
With this package you can use SCSS syntax in Laravel's Blade templates. It will be automatically compiled to CSS in result. Example:
<style>
@scss
#menu {
.item {
&.active {
background-color: red;
}
}
}
@endscss
</style>
Install the pawlox/laravel-scss package:
composer require pawlox/laravel-scss
Open up your app.php in your config folder, and add the following line to
your providers list like:
'providers' => [
...
Pawlox\LaravelScss\LaravelScssProvider::class
]