2017 © Pedro Peláez
 

library twig-assetic-fixer

Fixes the issue that `debug mode` & `combine false` not work when using Twig with Assetic.

image

wake/twig-assetic-fixer

Fixes the issue that `debug mode` & `combine false` not work when using Twig with Assetic.

  • Thursday, May 28, 2015
  • by Wake
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Twig Assetic Fixer

Twig-Assetic-Fixer try to fix the issue: The debug = true, combine = false options not work and asset files always combined when using Twig with Assetic., (*1)

Install

Install by Composer, (*2)

"require": {
  "wake/Twig-Assetic-Fixer": "*"
}

Use

Check last section of Assetic#Twig, replace, (*3)

``` php use Assetic\Extension\Twig\TwigFormulaLoader;, (*4)


with ``` php use TwigAsseticFixer\TwigFormulaLoader;

Twig Assetic Fixer

如果你正好在使用 Twig + Assetic 並且遇到 debug = true 或 combine = false 時,檔案依然合併為一個的問題,那麼此修正檔或許可以幫助你。, (*5)

安裝

透過 Composer 安裝, (*6)

"require": {
  "wake/Twig-Assetic-Fixer": "*"
}

使用

參考 Assetic#Twig,最下方有提到 These assets need to be written to the web directory so these URLs don't return 404 errors.,請將原本, (*7)

``` php use Assetic\Extension\Twig\TwigFormulaLoader;, (*8)


改換成 ``` php use TwigAsseticFixer\TwigFormulaLoader;

回報

有任何疑問或需要協助的歡迎開 issue :smirk:, (*9)

The Versions

28/05 2015

dev-master

9999999-dev https://github.com/wake/Twig-Assetic-Fixer

Fixes the issue that `debug mode` & `combine false` not work when using Twig with Assetic.

  Sources   Download

MIT

The Requires

 

twig assetic