Skip to content

all-ride/ride-web-template-smarty-minifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ride: Template Minifier (Smarty)

Smarty plugins for the Ride framework, used to minify and include javascript/css files in templates.

Code Sample

Javascript

{script src="js/jquery.js"}
{script src="js/main.js"}

{* minify javascript files and include them in the template *}
{scripts}

CSS

{style src="carbon/css/main.css"}
{style src="css/print.css" media="print"} {* Optional media parameter, defaults to 'all' *}

{* minify css files and include them in the template *}
{styles}

Related Modules

Installation

You can use Composer to install this application.

composer require ride/web-template-smarty-minifier

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages