定制 brammo/cake-less 二次开发

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

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

brammo/cake-less

最新稳定版本:v1.0.0

Composer 安装命令:

composer require brammo/cake-less

包简介

Less Plugin for CakePHP

README 文档

README

LESS helper for CakePHP

Requirements

  • CakePHP 5.x
  • Less.php

What's included?

  • LessHelper

Table of contents

Installation

cd to the root of your app folder (where the composer.json file is) and run the following Composer command:

composer require brammo/cake-less

Then load the plugin using CakePHP's console:

bin/cake plugin load Less

Usage

Add helper in the AppView.php:

public function initialize(): void
{
    $this->addHelper('Less.Less');
}

In the HTML head tag add:

<?= $this->Less->link('/path/to/styles.less') ?>

Contributing

Patches & Features

Bugs & Feedback

https://github.com/brammo/cake-less/issues

License

Copyright (c) 2024, Roman Sidorkin and licensed under The MIT License.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-22