webmamba/sass-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

webmamba/sass-bundle

Composer 安装命令:

composer require webmamba/sass-bundle

包简介

Delightful Sass Support for Symfony + AssetMapper

README 文档

README

This bundle make it easy to use Sass with Symfony's AssetMapper Component (no Node required!).

  • Automatically download the correct Sass binary
  • Adds a sass:build command to build and watch your sass changes

Installation

Install the bundle

    composer require webmamba/sass-bundle

Usage

To use generated css, start by including the input file (assets/styles/app.css by default)

{# templates.base.html.twig #}

{% block stylesheets %}
    <link rel="stylesheet" href="{{ asset('styles/app.css') }}">
{% endblock %}

Then you can create your scss file (assets/styles/app.scss by default) And start writing your style.

Then run the command:

    php bin/console sass:build --watch

And Thats it!

统计信息

  • 总下载量: 303
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-07