pawlox/laravel-scss
最新稳定版本:v0.1.1
Composer 安装命令:
composer require pawlox/laravel-scss
包简介
Adds Blade directive for compiling SCSS to CSS in templates
README 文档
README
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>
Installation
Get the Package
Install the pawlox/laravel-scss package:
composer require pawlox/laravel-scss
Register the Service Provider
Open up your app.php in your config folder, and add the following line to
your providers list like:
'providers' => [
...
Pawlox\LaravelScss\LaravelScssProvider::class
]
统计信息
- 总下载量: 1.2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-08-10