定制 pawlox/laravel-scss 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 4
  • Watchers: 3
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-10