定制 neosrulez/scssparser 二次开发

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

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

neosrulez/scssparser

Composer 安装命令:

composer require neosrulez/scssparser

包简介

A package to compile SCSS for Neos CMS

README 文档

README

A Neos CMS plugin to compile SCSS for Neos CMS

Installation

The NeosRulez.ScssParser package is listed on packagist (https://packagist.org/packages/neosrulez/scssparser) - therefore you don't have to include the package in your "repositories" entry any more.

Just add the following line to your require section:

"neosrulez/scssparser": "*"

And the run this command to fetch the plugin:

composer update

Fusion

In your site package Fusion file you can add the .scss files to compile

prototype(Neos.Neos:Page) {
    head {
        yourcss1 = NeosRulez.ScssParser:ScssFile
        yourcss1 {
            source = 'resource://Your.Site/Private/Styles/app.scss'
            inline = FALSE
            format = 'compressed'
            #format = 'expanded'
            #format = 'nested'
            #format = 'compact'
            #format = 'crunched'
            # You need outputFolder only if inline = FALSE
            outputFolder = 'resource://Your.Site/Public/Styles/'
        }

        yourcss2 = NeosRulez.ScssParser:ScssFile
        yourcss2 {
            source = 'resource://Your.Site/Private/Styles/test.scss'
            inline = FALSE
            format = 'compressed'
            #format = 'expanded'
            #format = 'nested'
            #format = 'compact'
            #format = 'crunched'
            # You need outputFolder only if inline = FALSE
            outputFolder = 'resource://Your.Site/Public/Styles/'
        }
    }
}

Author

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2019-03-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固